mersenneforum.org  

Go Back   mersenneforum.org > Prime Search Projects > Conjectures 'R Us

Reply
 
Thread Tools
Old 2010-03-04, 16:05   #122
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

24·397 Posts
Default

Comment line 234 of Work.cpp. I'll patch this differently in the leading edge.
rogue is offline   Reply With Quote
Old 2010-03-04, 16:31   #123
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3·2,083 Posts
Default

Quote:
Originally Posted by rogue View Post
Added all.html as the default webpage.
One request: could we have an option in prpserver.ini to choose what the default webpage is? I can think of some situations where it might not be preferable to have all.html as the default.
mdettweiler is offline   Reply With Quote
Old 2010-03-04, 16:54   #124
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

24·397 Posts
Default

Quote:
Originally Posted by mdettweiler View Post
One request: could we have an option in prpserver.ini to choose what the default webpage is? I can think of some situations where it might not be preferable to have all.html as the default.
My preference is actually for server_stats.html as it makes the most sense (and it was the original default).
rogue is offline   Reply With Quote
Old 2010-03-04, 17:13   #125
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3×2,083 Posts
Default

Quote:
Originally Posted by rogue View Post
My preference is actually for server_stats.html as it makes the most sense (and it was the original default).
Yeah, mine too. How about if we put an option in prpserver.ini and had it set for server_stats.html out of the box?
mdettweiler is offline   Reply With Quote
Old 2010-03-04, 20:21   #126
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

24·397 Posts
Default

I strongly recommend that anyone wanting to connect to a 3.2.1 server upgrade all of their clients first. 3.2.1 clients will work with older 3.x servers. There are some conditions under which older clients will not work with 3.2.1 servers. The main culprit are servers with a heavy load or servers with large databases (> 100,000 candidates in them).
rogue is offline   Reply With Quote
Old 2010-03-05, 13:20   #127
Xentar
 
Xentar's Avatar
 
Sep 2006

11·17 Posts
Default

Got a new bug in 3.2.0:

The server tried to send a test to a client, but the log file just says:
Code:
[2010-03-05 02:54:22 GMT] Socket 9800: 670224*19^39921+1 sent to ......
[2010-03-05 02:54:22 GMT] Error sending [End of Message] to socket 9800
[2010-03-05 02:54:22 GMT] Error sending [Start Greeting] to socket 9800
[2010-03-05 02:54:22 GMT] Error sending buffer to socket 9800
[2010-03-05 02:54:22 GMT] Error sending [End Greeting] to socket 9800
Log from the client:
Code:
[2010-03-05 02:54:18 GMT] s19: Getting work from server <something> at port <port>
[2010-03-05 02:54:29 GMT] Nothing was received on socket 148, therefore the socket was closed
[2010-03-05 02:54:29 GMT] Could not connect to any servers and no work is pending.  Pausing 10 minutes
Too bad, I don't have a detailed log :(
The client never received this test, but it is still marked as "Assigned" in the database.
Which column do I have to reset, to reassign this one? It's the last one of my test range 34K - 40K, and completed in just 3 weeks!
Xentar is offline   Reply With Quote
Old 2010-03-05, 13:39   #128
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

18D016 Posts
Default

Quote:
Originally Posted by Xentar View Post
Got a new bug in 3.2.0:

The server tried to send a test to a client, but the log file just says:
Code:
[2010-03-05 02:54:22 GMT] Socket 9800: 670224*19^39921+1 sent to ......
[2010-03-05 02:54:22 GMT] Error sending [End of Message] to socket 9800
[2010-03-05 02:54:22 GMT] Error sending [Start Greeting] to socket 9800
[2010-03-05 02:54:22 GMT] Error sending buffer to socket 9800
[2010-03-05 02:54:22 GMT] Error sending [End Greeting] to socket 9800
Log from the client:
Code:
[2010-03-05 02:54:18 GMT] s19: Getting work from server <something> at port <port>
[2010-03-05 02:54:29 GMT] Nothing was received on socket 148, therefore the socket was closed
[2010-03-05 02:54:29 GMT] Could not connect to any servers and no work is pending.  Pausing 10 minutes
Too bad, I don't have a detailed log :(
The client never received this test, but it is still marked as "Assigned" in the database.
Which column do I have to reset, to reassign this one? It's the last one of my test range 34K - 40K, and completed in just 3 weeks!
Without a detailed log, I don't have enough information to investigate. I have some ideas, but nothing concrete. I haven't seen this exact problem in my own testing, but I have seen similar problems. There are changes to 3.2.1 that I made to help combat the problems I have seen. They haven't resurfaced in a few days. I would have to give it another week or so before I would feel confident that the problem is resolved.

The server will eventually expire the test if it doesn't get a test result from the client. It depends upon the settings in prpserver.delay. If you use the stock prpserver.delay file, this test will expire 6 hours after it is assigned. You can lower that time limit (and restart the server) or you can use the mysql command line client. If you use mysql, you would need to do this:

delete from CandidateTest where CandidateName = '670224*19^39921+1';
update Candidate set HasPendingTest = 0 where CandidateName = '670224*19^39921+1';
rogue is offline   Reply With Quote
Old 2010-03-05, 18:01   #129
Xentar
 
Xentar's Avatar
 
Sep 2006

11×17 Posts
Default

Quote:
Originally Posted by rogue View Post
delete from CandidateTest where CandidateName = '670224*19^39921+1';
update Candidate set HasPendingTest = 0 where CandidateName = '670224*19^39921+1';
Thanks, worked fine.
So this range is complete now
Will post a status update + primes, after I collected all the result files from the different clients.
Xentar is offline   Reply With Quote
Old 2010-03-17, 13:42   #130
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

17×251 Posts
Default

Code:
// Setting to N means taht the server will sort by n, k, b, then c.
typo

Last fiddled with by Mini-Geek on 2010-03-17 at 13:44
Mini-Geek is offline   Reply With Quote
Old 2010-03-17, 15:16   #131
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

24·397 Posts
Default

Quote:
Originally Posted by Mini-Geek View Post
Code:
// Setting to N means taht the server will sort by n, k, b, then c.
typo
and probably not the only one. I'll fix it in the next release.
rogue is offline   Reply With Quote
Old 2010-03-21, 02:30   #132
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

17·251 Posts
Default

Quote:
Originally Posted by Mini-Geek View Post
PRPnet sorts the list of k's for server_stats.html like text, not like numbers. This, of course, makes it sort numbers with different numbers of digits wrong, e.g. it puts 2908*16^n+1 after 24582*16^n+1.
I just noticed that the same problem exists with the server's sorting of k's to hand out. (e.g. when set to sort by k, with k's including 77 and 1003, it starts with 1003)

Last fiddled with by Mini-Geek on 2010-03-21 at 02:30
Mini-Geek is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
PRPNet 5.4.3 Released rogue Software 178 2021-06-24 11:56
PSP goes prpnet ltd Prime Sierpinski Project 86 2012-06-06 02:30
PRPNet 4.0.0 Released rogue Software 84 2011-11-16 21:20
PRPNet 4.0.1 Released Joe O Sierpinski/Riesel Base 5 1 2010-10-22 20:11
PRPNet released! rogue Conjectures 'R Us 250 2009-12-27 21:29

All times are UTC. The time now is 10:22.


Tue Jul 27 10:22:56 UTC 2021 up 4 days, 4:51, 0 users, load averages: 1.99, 1.88, 1.90

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, 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.