![]() |
|
|
#23 | |
|
Mar 2006
Germany
23×3×112 Posts |
Quote:
I've got those 660 pairs before that issue (see Drive Progress from 20., 19:00-20:00, so these reservations should be stored in the joblist.txt file) and returned all pairs after the issue. The issue occured the hour after the reservation. So what happened between those two events with the joblist.txt? The knpairs.txt contain all pairs until the results were returned. The joblist.txt is the only place where the server can check if a pair is reserved. The rejected-file says all 660 pairs were returned between 18:00 and 19:00, but there was no issue with the connection, so the failure was before this. What I think: During the issue, something went wrong with the joblist.txt: not saved correctly or even lost at all. Because knpairs.txt contained still those pairs, the server offered these pairs to the clients again (for the server the first time, because joblist.txt was empty/corrupted/lost). It seems, the joblist.txt was lost for this drive only and the server was started with an empty joblist then! I only want to understand the whole thing here, otherwise I don't know what to make better to avoid this the next time. |
|
|
|
|
|
|
#24 | |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
3×2,083 Posts |
Quote:
|
|
|
|
|
|
|
#25 | |
|
Mar 2006
Germany
1011010110002 Posts |
Quote:
Every server has it's own files for storing results in. The LLRnet server is here very simple: 3 files: joblist.txt, knpairs.txt, results.txt, that's all. Saving these files every hour of a day with names like 'joblist_xx.txt' with xx the hour of the day, should store them in a different folder. So this would be enough time (24 hours before overwriting old copies) and in case of an issue (current files from server lost/damaged) only 1 or 2 hours of work will be lost! Another point of view: If for example the knpairs.txt was damaged, it's timeconsuming to create a new one, taking all results done in account. Also I don't know how the servers take care of their result-files? The resultfile of the LLRnet server for Drive #11 would be great because of the amount of pairs done. If an issue occure while writing in this file, it could be damaged massively! Other thoughts here? |
|
|
|
|
|
|
#26 | ||
|
A Sunny Moo
Aug 2007
USA (GMT-5)
141518 Posts |
Quote:
Quote:
-Every 15 minutes, the server's results.txt file is copied to /todayresults_portnum.txt on the web site. This is used for hourly updates by the DB and grows as the day goes on. -Every day at 12:00 midnight, the results.txt file is moved to /llrnet/results/results_date_time_server_nplb_port.txt on the web site. This empties the local copy and, by extension, /todayresults_portnum.txt on the web site. So if the local results.txt file is zapped, it can only take up to a day's worth of results with it. |
||
|
|
|
|
|
#27 | |
|
Mar 2006
Germany
23·3·112 Posts |
Quote:
The easiest way I think of, would be a cron-job (if I'm right, all NPLB servers running under UNIX). Last fiddled with by kar_bon on 2010-08-23 at 17:21 |
|
|
|
|
|
|
#28 |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
141518 Posts |
Yeah, you're right, a cron job would be easier. Okay, I'll see what I can put together.
|
|
|
|
|
|
#29 |
|
Jan 2005
Sydney, Australia
5×67 Posts |
Is the LLRnet server Port=3000 having any problems? My clients are running out of work and the GUI says "sleeping".
|
|
|
|
|
|
#30 |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
186916 Posts |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 20th Test of primality and factorization of Lepore with Pythagorean triples | Alberico Lepore | Alberico Lepore | 43 | 2018-01-17 15:55 |
| Move the 20th (moving to endgame soon) | Dubslow | Game 1 - ♚♛♝♞♜♟ - Shaolin Pirates | 10 | 2013-03-03 08:59 |
| Rally Feb. 20th-22nd | gd_barnes | No Prime Left Behind | 13 | 2009-02-20 14:06 |
| Prime95's backups broken? | abstractius | Software | 4 | 2007-12-18 02:31 |
| New Server Hardware and price quotes, Funding the server | Angular | PrimeNet | 32 | 2002-12-09 01:12 |