![]() |
|
|
#34 |
|
"Mark"
Apr 2003
Between here and the
24·397 Posts |
This is an beta There are significant changes, including numerous bug fixes. I highly recommend that users upgrade their personal servers. I would not recommend upgrading a public server until backward compability has been tested. Here are a list of changes from 3.0.0:
Note the table changes (CandidateTest and CandidateGroupStats). These must be done before new clients can connect. The admin tool and browsers can connect, but not clients. CandidateTest has a new column that can be added via the command: alter table CandidateTest add SecondsForTest double; You just need to drop and create CandidateGroupStats, then use option 6 from prpadmin to resync the table. I strongly recommend running the following SQL statements (if upgrading) to correct mistakes in the database due to bugs that have been fixed. If you do not run this SQL, then the server will not send tests for candidates that 3.0.x created a problem with. update Candidate set HasPendingTest = 0; update Candidate set HasPendingTest = 1 where exists (select 'x' from CandidateTest where CandidateTest.CandidateName = Candidate.CandidateName and residue is null); As far as I know, this addresses all known bugs that have been posted in this thread. |
|
|
|
|
|
#35 |
|
"Mark"
Apr 2003
Between here and the
24·397 Posts |
Based upon some preliminary tests, 2.4 clients work with the 3.1 server.
|
|
|
|
|
|
#36 |
|
Jun 2006
Chertsey Surrey UK
2×179 Posts |
Mark
I installed the new version clean no upgrade. All appeared to be going well until i tried to remove some candidates using a factors file. prpadmin option 5 Sent 1000, server has processed 0 Never progressed past this point. Prpadmin was using a whole core to itself, left it 5 minutes and it was still hitting the CPU hard but showing no progress. I stopped prpadmin and that upset prpserver. [2010-01-07 07:37:58 GMT] PRPNet_Admin_user@ at 127.0.0.1 is connecting as admin [2010-01-07 07:42:59 GMT] Error sending [processed] to socket 388 [2010-01-07 07:42:59 GMT] Error sending [processed] to socket 388 [2010-01-07 07:42:59 GMT] Error sending [processed] to socket 388 [2010-01-07 07:42:59 GMT] Error sending [processed] to socket 388 [2010-01-07 07:42:59 GMT] Error sending [processed] to socket 388 [2010-01-07 07:42:59 GMT] Error sending [processed] to socket 388 [2010-01-07 07:42:59 GMT] Error sending [processed] to socket 388 [2010-01-07 07:42:59 GMT] Error sending [processed] to socket 388 [2010-01-07 07:42:59 GMT] Error sending [processed] to socket 388 [2010-01-07 07:42:59 GMT] Error sending [processed] to socket 388 [2010-01-07 07:42:59 GMT] Error sending [processed] to socket 388 [2010-01-07 07:42:59 GMT] Error sending [processed] to socket 388 [2010-01-07 07:42:59 GMT] Error sending [processed] to socket 388 [2010-01-07 07:42:59 GMT] Error sending [processed] to socket 388 [2010-01-07 07:42:59 GMT] Error sending [processed] to socket 388 [2010-01-07 07:42:59 GMT] Error sending [processed] to socket 388 Lots more of the same Log got very large very fast so i had to stop and restart prpserver. Tried a couple of times and the same thing happened. |
|
|
|
|
|
#37 |
|
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
17×251 Posts |
I'm getting the same thing as PCZ. More specifically: When I remove a candidate through prpadmin, it repeats "Sent 1, all have been processed" very quickly, prpserver adds "[2010-01-07 14:08:19 GMT] PRPNet_Admin_user@ at 127.0.0.1 is connecting as admin", then when I close prpadmin with Ctrl+C, prpserver starts repeating "Error sending [processed] to socket 260" very quickly, and must be closed by ending the process (Ctrl+C doesn't work).
The candidate is removed from the database correctly. This happens no matter if the candidate was in the database when you issued the command, and no matter if the candidate was the last in the database. Last fiddled with by Mini-Geek on 2010-01-07 at 14:12 |
|
|
|
|
|
#38 | |
|
"Mark"
Apr 2003
Between here and the
24×397 Posts |
Quote:
|
|
|
|
|
|
|
#39 |
|
"Mark"
Apr 2003
Between here and the
24×397 Posts |
The only change from 3.1.0 is to address handling factors from the admin tool. You can d/l it from http://home.roadrunner.com/~mrodenki...pnet_3.1.1.zip
|
|
|
|
|
|
#40 |
|
"Mark"
Apr 2003
Between here and the
24×397 Posts |
I tracked down an issue with duplicate keys. I had made an assumption that MySQL supported row level locks by default. It doesn't. I had to change the tables to use the InnoDB engine. Once that I did that the throughput increased by a factor of at least 2. I also addressed a related issue where the server could send the same test to two clients concurrently. I really pounded the server code hard for this release. I had 6 clients connecting at a time, each getting 200 tests and those tests taking about .1 to .2 seconds each. The server had tons of throughput problems until I switched over to InnoDB and those problems went away.
To change the engine (if upgrading) you need to do the following in MySQL: alter table <table_name> engine=innodb; for each table in the PRPNet database schema. New tables will be created with that engine by default. You can d/l it from http://home.roadrunner.com/~mrodenki...pnet_3.1.2.zip. Unless any new issues show up, I feel confident that this release could be used to replace LLRNet. |
|
|
|
|
|
#41 |
|
Jun 2006
Chertsey Surrey UK
2×179 Posts |
I have also been having lots of troubles with duplicates, failure to get lock etc
If you work it too hard you get DB has gone away or sql error 1040. Will give the latest version a test drive. |
|
|
|
|
|
#42 | |
|
"Mark"
Apr 2003
Between here and the
143208 Posts |
Quote:
BTW, in SQLStatement.h you might need to change ii_AffectedRows to SQLINTEGER instead of int32_t. Windows won't complain, but Unix does. |
|
|
|
|
|
|
#43 |
|
"Mark"
Apr 2003
Between here and the
635210 Posts |
In this release I have fixed a couple of issue with using LLR clients. One prevented it from getting the time of the test, the other causes the client to fail on 64-bit Linux. I also reduced the buffer size from 1000 records to 100 in prpadmin. Linux is really annoying with the way it handles large data buffers and sockets.
You can d/l it from http://home.roadrunner.com/~mrodenki...pnet_3.1.3.zip. If you have a problem with compiling SQLStatement.cpp, then you still need to change SQLINTEGER ii_RowsAffected; to this long int ii_RowsAffected; in SQLStatement.h. I don't know yet how to #define around this. The Linux header file sql.h is wrong if you have to change this source. |
|
|
|
|
|
#44 |
|
"Mark"
Apr 2003
Between here and the
24·397 Posts |
In this release I addressed an issue with using select() on a socket. Apparently on some OS's it pegs the CPU. I added GFN support when phrot is used. It requires version 0.72 of phrot. I also added the -e switch when doing primality tests so that PFGW can get to 33% factorization to prove primality.
You can d/l it from http://home.roadrunner.com/~mrodenki...pnet_3.1.4.zip. |
|
|
|
![]() |
| Thread Tools | |
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 |