![]() |
|
|
#144 | |
|
"Mark"
Apr 2003
Between here and the
11000110100002 Posts |
Quote:
|
|
|
|
|
|
|
#145 |
|
"Mark"
Apr 2003
Between here and the
24×397 Posts |
I have the same system, but could not reproduce the problem.
![]() Could you export your database and send it to me? Maybe one of the tables has a problem. When the server stops, do you get any errors? I typically run the server from the command prompt. How do you start it? |
|
|
|
|
|
#146 | ||
|
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
17·251 Posts |
Hm, that's odd.
Quote:
Quote:
Edit: I was making a new database to try to test on, and I got this error when running the create_tables.sql file included with 3.2.2: Code:
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'index ix_residue (CandidateName, Residue) ) ENGINE=InnoDB' at line 18 Note that this hasn't affected the bug we're discussing, because I updated my table using the UPDATE command you listed when you released 3.2.2. Last fiddled with by Mini-Geek on 2010-03-23 at 16:07 |
||
|
|
|
|
|
#147 |
|
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
17·251 Posts |
I attempted to reproduce the problem with a fresh database (and debug version of the server, ready to see what's wrong) and running the server from a new directory (same settings files, but on a different port) and could not reproduce the problem. (
for not knowing what the heck went wrong, for knowing that it probably isn't affecting anything except that one DB) It successfully added all of the candidates and calculated their decimal lengths.These are the sort of commands I've been using to remove old bases from the DB (after exporting them to files, just in case). Is there anything wrong with them, specifically that might cause the sort of instability I'm seeing? Code:
select * from candidate where b=177 into outfile 'base177-cd-out.txt'; select * from candidatetest where candidatename like '%*177^%' into outfile 'base177-cd-test-out.txt'; delete from candidatetest where candidatename like '%*177^%'; delete from candidate where b=177; Last fiddled with by Mini-Geek on 2010-03-23 at 16:51 |
|
|
|
|
|
#148 | |
|
"Mark"
Apr 2003
Between here and the
11000110100002 Posts |
Quote:
|
|
|
|
|
|
|
#149 |
|
Just call me Henry
"David"
Sep 2007
Cambridge (GMT/BST)
5,881 Posts |
I can't find a mention of a limit on size of k(or b, n or c for that matter
). However i hit the limit while trying to add some very prime sequence candidates.What is the limit currently and is it trivial to allow large very large ks? The k i tested was 6725754451964432990335077705(28 digits). I suspect that the limits are a long in prpserver, an int in the webpages, and a selfset limit of 20 digits in the database judging by the output and a look at the tablecreating script. There is not warning when the limit it reached. This is low priority and possibly not worth sorting although the webpage probably needs to be the same as the program itself. If it is just a 10 minute job to fix then it would be worth it as it would save more than 10 minutes of others time not fiddling around with pfgw. |
|
|
|
|
|
#150 | |
|
"Mark"
Apr 2003
Between here and the
11000110100002 Posts |
Quote:
|
|
|
|
|
|
|
#151 | |
|
"Mark"
Apr 2003
Between here and the
18D016 Posts |
Quote:
If anyone else has problems with 3.2.2 servers that are inexplicable (odd crashes, inability to connect, etc.), let me know. Correction to this post. Apparently my PC had to be rebooted due to a software update. After I rebooted, the release build worked correctly. Last fiddled with by rogue on 2010-03-23 at 18:59 |
|
|
|
|
|
|
#152 |
|
Just call me Henry
"David"
Sep 2007
Cambridge (GMT/BST)
5,881 Posts |
Maybe rather than adding limits you could just pass the numbers with too high ks to pfgw which will test virtually anything.
|
|
|
|
|
|
#153 |
|
"Mark"
Apr 2003
Between here and the
18D016 Posts |
In theory that sounds simple, but in reality it isn't quite so simple. Both the client and server would be affected. I would have to create a new server type that supports generic forms. With a generic form I wouldn't parse k, b, n, or c from the candidate.
|
|
|
|
|
|
#154 | |
|
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
17·251 Posts |
I made this mod to SierpinskiRieselHTML.cpp lines 124 and 125: (new code bold)
Code:
theSocket->Send("<tr %s><td align=center colspan=10>%d of %d have primes/PRPs (%d remaining)</tr>",
(kCount == primeCount ? "bgcolor=\"red\"" : ""), primeCount, kCount, kCount-primeCount);
(I know that it's only marginally useful for things like large Sierp/Riesel work, since the number of primes there are usually 0 or 1, but it's not at a high readability cost or anything; and if that was really a big problem, you could make it only appear when there are at least 5 primes, or something like that; it is useful for smaller work, where there are usually many k's and primes)Quote:
), but here are the symptoms:no clients can connect, using Ctrl+C to try to end it prints the message saying it's trying to close, but it doesn't (at least not for how long I've waited). Killing the process with Task Manager works, and when I start it again, it all works just fine. Last fiddled with by Mini-Geek on 2010-03-24 at 11:01 |
|
|
|
|
![]() |
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 |