![]() |
|
|
#23 | |
|
May 2007
Kansas; USA
33·5·7·11 Posts |
Quote:
Unfortunately I can find nothing for port 7465 and Max seems to have disappeared after saying he'd get 3.1.5 running yesterday. Tim, have you run a personal PRPnet 3 server yet? If so, where is the DB and how does it get accessed? Me lookee no findee. I'm wading through some help and readme files now. A lot of it is pretty greek to me. |
|
|
|
|
|
|
#24 | |
|
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
17·251 Posts |
Yes.
Quote:
Code:
/path/to/MySQL/MySQL Server 5.1/bin/mysql -u root -p http://www.w3schools.com/SQl/default.asp |
|
|
|
|
|
|
#25 | |
|
May 2007
Kansas; USA
33×5×7×11 Posts |
Quote:
Mark, you can ignore my requirements post. I need to get a handle on this. Gary |
|
|
|
|
|
|
#26 | |
|
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
10000101010112 Posts |
Quote:
p.s. you might also want to use the -b (--no-beep) option to make it so your computer doesn't beep every time you do something that makes an error.
|
|
|
|
|
|
|
#27 | |
|
May 2007
Kansas; USA
289B16 Posts |
Quote:
My machine never beeps unless I hit delete on something one too many times so I'm sure Max is using the -b option. I can find various mysql files in various folder but they don't mean anything to me. Max, when you see this, please send detailed instructions on what you did to set up the MySQL database on my server machine. Also, I'd like to set one up for my own personal use. (In other words, no care package. I have to do it.) That's the only way I'm going to learn what requirements are still needed, if any. Thanks for your assistance Tim. I'm going offline now. Gary |
|
|
|
|
|
|
#28 |
|
"Mark"
Apr 2003
Between here and the
11·577 Posts |
I'll give you some time to think about things, but I can give you some information that might be helpful.
If you use a browser and connect to the server on the given port, there are three webpages that the server can generate: 1) server_stats.html - This page will give you much of the knpairs information that you are looking for. 2) user_stats.html - Rolled up stats by user. I do not have any daily stats pages. 3) pending_tests.html - This page will give you much of the joblist information that you are looking for. These are all generated on the fly from the database and can be accessed from anyone with a browser, not just the server admin. The HTML generated for server_stats.html is based upon the servertype. If you follow this link, http://www.primegrid.com/forum_thread.php?id=1215, you will find more links to pages generated by PRPNet for PrimeGrid. Most of these are for 2.4.6, but, port 12007 has 3.1.4 running. Someone at PrimeGrid even took the time to grab user_stats.html once per day to generate daily stats for users. You can follow that discussion from this link, http://www.primegrid.com/forum_thread.php?id=1613. I am very open to adding new webpages or data elements to the existing pages. One of the requirements that was listed was an option to reduce the amount of logging even further on the server side. I'm open to that, but I think that where it is right now helps the server admin know that the server is alive and kicking. I won't say that it is a bad idea outright, but if logging is reduced, i.e. removing the "sent candidate" and "received candidate" messages, then the server should probably still output a heartbeat message or something like that every hour so that the server admin can see that it is working. It doesn't do that now. I don't think that I would remove errors/warnings from the server log under any circumstances. |
|
|
|
|
|
#29 | |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
3×2,083 Posts |
Quote:
Mini-Geek covered much of the bases when it comes to how PRPnet 3.1.x works with the DB. Essentially, you get into the DB by opening a terminal window and running this: mysql -u root -p It will ask you for a password; it's the same as the password on the computer's max account. Once you're in, run: use prpnet7465; Make sure to include the semicolon; you use those to terminate all statements in MySQL. Once you've done that, you can access any of the G7465 database tables. Probably the one you're most interested in is the list of candidates in the server, so you can read that like this: select * from Candidate; Keep in mind that if there's a lot of candidates, this may not do much good since they'll just scroll right by off the screen. I know of a way to dump that data into CSV (text) format when needed, though I don't recall it off the top of my head. Meanwhile, completed test are also stored in the DB, though they are logged to completed_tests.log as well, so that's really the easiest place to get them. Hope this clears things up a bit.
|
|
|
|
|
|
|
#30 | |
|
"Mark"
Apr 2003
Between here and the
11·577 Posts |
Quote:
mysql -u root -p <pwd> prpnet7465 where <pwd> is the password for the account. My recommendation is that you change the mysql root account password so that it is not the same as the computer account's password. The reason for that is that the password is in the clear in the prpnet server's mysql.ini file. If someone were to access that file, they would get your account password. This webpage shows how to do it: http://www.cyberciti.biz/faq/mysql-c...root-password/ |
|
|
|
|
|
|
#31 | |
|
May 2007
Kansas; USA
242338 Posts |
Quote:
Here's the problem. 3.1.4 is showing lots of pairs but the server hasn't worked in nearly 2 days. I finally just stopped it. I just now restarted it and tried a client on it. It continues to say "No available candidates are left on this server." yet when I did the select command on the DB, it appeared that there are a ton of candidates above k=2009, which is the last k-value we were testing when the server just stopped. Please don't just leave me/us hanging here. Thank you. |
|
|
|
|
|
|
#32 | |
|
"Mark"
Apr 2003
Between here and the
11·577 Posts |
Quote:
select CandidateName, CompletedTests, DecimalLength, LastUpdateTime, k, b, c, n from Candidate where HasPendingTest = 0 and IsPRP = 0 and IsPrime = 0 and DoubleChecked = 0 and HasSierpinskiRieselPrime = 0 and DecimalLength > 0 ; The combination of all of this data would be of great assistance to me. |
|
|
|
|
|
|
#33 |
|
Mar 2006
Germany
23×3×112 Posts |
supporting to submit more than 15 results at once with the client.
background: you got a box not online 24/7 and reserve a workload for about 15 hours. for a i7 with 8 threads a test (at n=750k) is done in about 17 min so for 15 hours you need 50 tests. if you try to submit (with client 2.4.6) 50 results at once one test will be lost! Karsten |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| LLRnet and PRPnet servers for automated LLR | mdettweiler | Twin Prime Search | 235 | 2021-05-13 21:13 |
| LLRnet/PRPnet rally April 4th-11th | mdettweiler | No Prime Left Behind | 55 | 2011-04-25 09:35 |
| LLRnet/PRPnet rally January 3rd-10th | mdettweiler | No Prime Left Behind | 48 | 2011-01-12 10:14 |
| LLRnet/PRPnet rally Oct. 27th-Nov. 3rd | mdettweiler | No Prime Left Behind | 33 | 2010-12-24 19:16 |
| LLRnet/PRPnet rally June 4th-6th | gd_barnes | No Prime Left Behind | 61 | 2010-07-30 17:28 |