mersenneforum.org  

Go Back   mersenneforum.org > Prime Search Projects > No Prime Left Behind

Reply
 
Thread Tools
Old 2010-01-27, 10:17   #34
gd_barnes
 
gd_barnes's Avatar
 
May 2007
Kansas; USA

2×5×1,009 Posts
Default

Quote:
Originally Posted by rogue View Post
Gary, could you restart the server with debuglevel=4 and e-mail me some files (debug.log, prpserver.log, prpserver.delay, and prpserver.ini) after you get that message on a client? I would also like to see the output from this select statement in the database:

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.
Unfortunately we're having to wait on Max to load up the server because the 3.1.4 server is now dried and he needs to compile the programs for Linux for 3.1.5. Sorry. I can change the debug level but would need detailed instructions (as well as a correct input file format) for loading up a 3.1.4 version of the DB.

But...after much effort to figure out how to write this to a file and then give myself permissions to the MySQL folder, I've run the query. For the testing of k=2000-2050 on version 3.1.4, it selected 186993 rows. The full size file is 9.2 MB. Tarred up, it is 1.9 MB.

Since it is too big to post here, I'm posting a file that includes only k=2001-2003 tests. If you need the full file, let me know how you'd like it sent to you.
Attached Files
File Type: gz k=2001-2003-version-3.1.4.tar.gz (180.3 KB, 46 views)

Last fiddled with by gd_barnes on 2010-01-27 at 12:09
gd_barnes is offline   Reply With Quote
Old 2010-01-27, 10:19   #35
gd_barnes
 
gd_barnes's Avatar
 
May 2007
Kansas; USA

2·5·1,009 Posts
Default

Quote:
Originally Posted by mdettweiler View Post
lol. I was a tad busy yesterday but no, I actually didn't get the chance to start up 3.1.5 yesterday. It shouldn't be a problem though to do it today.


And no more "lol"'s please. It's not funny anymore.

Last fiddled with by gd_barnes on 2010-01-27 at 12:11
gd_barnes is offline   Reply With Quote
Old 2010-01-27, 13:32   #36
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

127648 Posts
Default

Quote:
Originally Posted by gd_barnes View Post
Unfortunately we're having to wait on Max to load up the server because the 3.1.4 server is now dried and he needs to compile the programs for Linux for 3.1.5. Sorry. I can change the debug level but would need detailed instructions (as well as a correct input file format) for loading up a 3.1.4 version of the DB.

But...after much effort to figure out how to write this to a file and then give myself permissions to the MySQL folder, I've run the query. For the testing of k=2000-2050 on version 3.1.4, it selected 186993 rows. The full size file is 9.2 MB. Tarred up, it is 1.9 MB.

Since it is too big to post here, I'm posting a file that includes only k=2001-2003 tests. If you need the full file, let me know how you'd like it sent to you.
The file you attached will be fine.

The debuglevel setting is the last line of the prpserver.ini file.

You can load the database by either having a prpserver.candidates file and using the upgrade command line option or using prpadmin and an ABC file. Large ABC files tend will take a while to load through prpadmin.
rogue is offline   Reply With Quote
Old 2010-01-27, 14:49   #37
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3×2,083 Posts
Default

Quote:
Originally Posted by gd_barnes View Post
You said that yesterday. When today?

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.
Ergh. I'm really sorry--I totally misplanned the timing of stuff. I've been rather busy in my offline life over the last couple of days and have barely had time to check the forum.

Okay, okay, I'll do it...right now!

BTW, if you check the server's web page, you'll notice that even though all those pairs are listed, they're listed as complete. I'm not sure if there's any way to clean them out eventually; Mark?
mdettweiler is offline   Reply With Quote
Old 2010-01-27, 15:03   #38
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3×2,083 Posts
Default

Okay, I tried it again and...great, another compile error. Looks like it will have to wait a bit longer. I've emailed Mark about the error.

Gary, as I said in the note on humpford's desktop, I will be out of the house for much of today. I will nonetheless try to get to this when I get back, though I won't make any promises.
mdettweiler is offline   Reply With Quote
Old 2010-01-27, 15:41   #39
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

22×5×281 Posts
Default

Quote:
Originally Posted by mdettweiler View Post
Ergh. I'm really sorry--I totally misplanned the timing of stuff. I've been rather busy in my offline life over the last couple of days and have barely had time to check the forum.

Okay, okay, I'll do it...right now!

BTW, if you check the server's web page, you'll notice that even though all those pairs are listed, they're listed as complete. I'm not sure if there's any way to clean them out eventually; Mark?
What do you mean by "complete"? Do you mean that they have been double-checked?

Eventually I will write a routine to remove candidates that need no further testing, but I don't know the best way to go about it. For example, do I wait a certain number of days after the test before removing it? Do I copy that data to another table instead of deleting it? Do I dump it to a file then delete it? I'm open to any ideas anyone has.
rogue is offline   Reply With Quote
Old 2010-01-27, 15:52   #40
Lennart
 
Lennart's Avatar
 
"Lennart"
Jun 2007

46016 Posts
Default

Quote:
Originally Posted by rogue View Post
What do you mean by "complete"? Do you mean that they have been double-checked?

Eventually I will write a routine to remove candidates that need no further testing, but I don't know the best way to go about it. For example, do I wait a certain number of days after the test before removing it? Do I copy that data to another table instead of deleting it? Do I dump it to a file then delete it? I'm open to any ideas anyone has.
I think the best is to dump it to a file and delete them from DB.

Lennart.
Lennart is offline   Reply With Quote
Old 2010-01-27, 15:56   #41
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

10000101010112 Posts
Default

Quote:
Originally Posted by rogue View Post
What do you mean by "complete"? Do you mean that they have been double-checked?

Eventually I will write a routine to remove candidates that need no further testing, but I don't know the best way to go about it. For example, do I wait a certain number of days after the test before removing it? Do I copy that data to another table instead of deleting it? Do I dump it to a file then delete it? I'm open to any ideas anyone has.
Perhaps add a few options to prpadmin, e.g. "Save completed tests to file" and "Clear completed tests from database". Whether this would require a double check to have been done or not (just a single test) could be decided by whether the server is set to double check candidates or not.
Mini-Geek is online now   Reply With Quote
Old 2010-01-27, 16:08   #42
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3×2,083 Posts
Default

Quote:
Originally Posted by Mini-Geek View Post
Perhaps add a few options to prpadmin, e.g. "Save completed tests to file" and "Clear completed tests from database". Whether this would require a double check to have been done or not (just a single test) could be decided by whether the server is set to double check candidates or not.
Right, that sounds like the way to go.
mdettweiler is offline   Reply With Quote
Old 2010-01-27, 17:00   #43
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

22·5·281 Posts
Default

Quote:
Originally Posted by Mini-Geek View Post
Perhaps add a few options to prpadmin, e.g. "Save completed tests to file" and "Clear completed tests from database". Whether this would require a double check to have been done or not (just a single test) could be decided by whether the server is set to double check candidates or not.
That's possible. I do have some concerns though. If the server stats are ever reset, then the deleted tests will no longer be counted. They will still be counted for the user because those are not reset, but server_stats.html will be changed.

This is something along the lines of what I have thought of (previously) combined with what is being stated here, both done through prpadmin.

1) Allow delete by form. For example, specify 12*199^n+1 for some servers would delete all candidates and tests for numbers where k = 12, b = 199 and c = 1. The form would be dependent upon the servertype.

2) Allow delete by timestamp. For example, ask user the age criteria for deleting candidates and tests. prpadmin would ask for a number of days. The server would then delete all candidates with double-checks that are older than that number of days. One exception would be that the server would not delete the candidates and their tests if any tests/double-checks older than that are still pending. For example, if you want to delete everything older than 2 days, but there is a incomplete test from 3 days ago, then nothing would be deleted. This could be controlled by form. For a FixedKBC server, this would mean that an old outstanding test for k=111999 would not prevent the deleting of candidates for k=112001.

Thoughts?
rogue is offline   Reply With Quote
Old 2010-01-27, 17:25   #44
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT)

24·353 Posts
Default

Quote:
Originally Posted by rogue View Post
Thoughts?
For 1) it would be helpful if it was possible to set an n range for the sequence you are removing.
henryzz is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
LLRnet and PRPnet servers for automated LLR mdettweiler Twin Prime Search 230 2020-04-01 03:30
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

All times are UTC. The time now is 01:09.

Thu Apr 2 01:09:13 UTC 2020 up 7 days, 22:42, 3 users, load averages: 0.74, 0.87, 1.02

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.