mersenneforum.org 3,748+ c204 Smaller-but-Needed
 User Name Remember Me? Password
 Register FAQ Search Today's Posts Mark Forums Read

2021-10-22, 18:06   #122
EdH

"Ed Hall"
Dec 2009

411810 Posts

Quote:
 Originally Posted by kruoli The system is up again and already receving results. . . .
I left a lot of my overnight machines in the loop state in case they had been trying to return results. I'm glad to see they are up again and hopefully did report valid returns. The long Timeout you have set is probably a good choice. In my earlier referred to case, I kept losing results because they became flagged as too late and canceled.

2021-10-22, 18:17   #123
kruoli

"Oliver"
Sep 2017
Porta Westfalica, DE

28×3 Posts

Quote:
 Originally Posted by EdH The long Timeout you have set is probably a good choice.
Thanks, I thought there is really little to lose, I could have 10x'ed it without major drwawbacks.

Quote:
 Originally Posted by EdH I'm glad to see they are up again and hopefully did report valid returns.
Code:
Database: WuAccess._checkstatus(): Workunit 3_748plus_sieving_97370000-97372000 has status 7 (CANCELLED), expected 1 (ASSIGNED), presumably timed out
I am really sorry, this came in just a minute ago. In fact, this is merely the last one, I received this not only once but a considerable amount of times, apart from seconds or few minutes. It does not state which machine would be to blame; is that a machine reconnecting really lately? (Not citing you because you are to blame, but I hope it is not related.)

2021-10-22, 19:04   #124
EdH

"Ed Hall"
Dec 2009

101616 Posts

Quote:
 Originally Posted by kruoli Thanks, I thought there is really little to lose, I could have 10x'ed it without major drwawbacks. Code: Database: WuAccess._checkstatus(): Workunit 3_748plus_sieving_97370000-97372000 has status 7 (CANCELLED), expected 1 (ASSIGNED), presumably timed out I am really sorry, this came in just a minute ago. In fact, this is merely the last one, I received this not only once but a considerable amount of times, apart from seconds or few minutes. It does not state which machine would be to blame; is that a machine reconnecting really lately? (Not citing you because you are to blame, but I hope it is not related.)
I have a lot of machines engaged right now, so it could very well be mine. If you like I can take them all off line at the end of the next WU return for each. All my machines have "eFarm" in the client ID.

As to identifying machines, you have to harvest from the log file. Try:
Code:
cat ???.log | grep "97370000-97372000"
to see an example. You will also get the reassigned WUs (with a #2 appended).

 2021-10-22, 19:21 #125 kruoli     "Oliver" Sep 2017 Porta Westfalica, DE 76810 Posts Thank you, that worked! I'll contact the perpetrator.
 2021-10-22, 21:08 #126 EdH     "Ed Hall" Dec 2009 Adirondack Mtns 2·29·71 Posts Back when VBCurtis was running this Team Event, there was a running web page that provided current status of the project. If you are able to write such web pages, it would be a nice touch to be able to see the progress of the sieving. If not, an occasional update would still be nice.
 2021-10-22, 21:15 #127 kruoli     "Oliver" Sep 2017 Porta Westfalica, DE 28·3 Posts Nice suggestion! I have an Apache HTTP server running on the same domain. If any of you have a script to generate a small status webpage, I'll be happy to implement that. We are at 99796000-99798000 and 61155767 relations.
2021-10-22, 22:09   #128
EdH

"Ed Hall"
Dec 2009

101616 Posts

Quote:
 Originally Posted by kruoli Nice suggestion! I have an Apache HTTP server running on the same domain. If any of you have a script to generate a small status webpage, I'll be happy to implement that. We are at 99796000-99798000 and 61155767 relations.
I don't know enough about web page stuff, but I can probably write a script that can harvest data from the log and deposit it in a formatted file.

I think forum user SethTro ran the other one. Maybe he has some pointers.

 2021-10-22, 22:18 #129 kruoli     "Oliver" Sep 2017 Porta Westfalica, DE 28·3 Posts If you or somebody had a bash script that would output HTML, I could write a CRON job that writes a web pages in intervals.
 2021-10-22, 22:27 #130 VBCurtis     "Curtis" Feb 2005 Riverside, CA 52×7×29 Posts Pretty sure Seth open-sourced his code for that page. He's still active on the forum, maybe PM him and he's likely to help you set up the web-page monitor.
2021-10-22, 23:49   #131
EdH

"Ed Hall"
Dec 2009

2×29×71 Posts

Quote:
 Originally Posted by kruoli If you or somebody had a bash script that would output HTML, I could write a CRON job that writes a web pages in intervals.
I can write simple web page html code and I can write scripts to harvest data. For fun, I just might try something. . .

Quote:
 Originally Posted by VBCurtis Pretty sure Seth open-sourced his code for that page. He's still active on the forum, maybe PM him and he's likely to help you set up the web-page monitor.
This is obviously the better option, whether I play at it or not.

2021-10-23, 00:48   #132
EdH

"Ed Hall"
Dec 2009

2·29·71 Posts

Quote:
 Originally Posted by EdH I can write simple web page html code and I can write scripts to harvest data. For fun, I just might try something. . . . . .
Here is a script that will generate a "Super Simple" html page with the percentage and ETA. The page will have none of the current formatting and I'm sure it wouldn't pass any page checks, but it can give you an idea whether it's of interest:
Code:
#!/bin/bash

echo "<!DOCTYPE html>" >TeamSieve.html
echo "<html>" >>TeamSieve.html
echo "<title>Team Sieve data for 3,748+</title>" >>TeamSieve.html
echo "<body>" >>TeamSieve.html
echo "<center>" >>TeamSieve.html
echo "<h1>Current percentage done and ETA</h1>" >>TeamSieve.html

exec <"$log" while read line do case$line in
*"Lattice Sieving: Marking workunit"*) eta=${line:80} ;; esac done k=$(echo expr index "$eta" k) eta=${eta:${k}+2:-1} echo "<h3>$eta</h3>" >>TeamSieve.html
echo "</center>" >>TeamSieve.html
echo "</body>" >>TeamSieve.html
echo "</html>" >>TeamSieve.html
Simply supply the absolute location/name for the log (in place of CADOhtml.log) and look at TeamSieve.html with a browser.

Perhaps someone with more web page knowledge can let us know whatever else is needed to make this a better page.

Edit: Also, think about whatever else may be of interest that can be harvested.

Last fiddled with by EdH on 2021-10-23 at 02:13

 Similar Threads Thread Thread Starter Forum Replies Last Post fivemack Factoring 3 2017-09-19 08:52 skan YAFU 6 2013-02-26 13:57 akruppa Factoring 114 2012-08-20 14:01 fortega Data 2 2005-06-16 22:48 marc Factoring 6 2004-10-09 14:17

All times are UTC. The time now is 06:28.

Thu Dec 9 06:28:34 UTC 2021 up 139 days, 57 mins, 0 users, load averages: 1.33, 1.40, 1.30