mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Cunningham Tables

Reply
 
Thread Tools
Old 2021-10-22, 18:06   #122
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

411810 Posts
Default

Quote:
Originally Posted by kruoli View Post
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.
EdH is offline   Reply With Quote
Old 2021-10-22, 18:17   #123
kruoli
 
kruoli's Avatar
 
"Oliver"
Sep 2017
Porta Westfalica, DE

28×3 Posts
Default

Quote:
Originally Posted by EdH View Post
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 View Post
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.)
kruoli is offline   Reply With Quote
Old 2021-10-22, 19:04   #124
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

101616 Posts
Default

Quote:
Originally Posted by kruoli View Post
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).
EdH is offline   Reply With Quote
Old 2021-10-22, 19:21   #125
kruoli
 
kruoli's Avatar
 
"Oliver"
Sep 2017
Porta Westfalica, DE

76810 Posts
Default

Thank you, that worked! I'll contact the perpetrator.
kruoli is offline   Reply With Quote
Old 2021-10-22, 21:08   #126
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

2·29·71 Posts
Default

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.
EdH is offline   Reply With Quote
Old 2021-10-22, 21:15   #127
kruoli
 
kruoli's Avatar
 
"Oliver"
Sep 2017
Porta Westfalica, DE

28·3 Posts
Default

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.
kruoli is offline   Reply With Quote
Old 2021-10-22, 22:09   #128
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

101616 Posts
Default

Quote:
Originally Posted by kruoli View Post
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.
EdH is offline   Reply With Quote
Old 2021-10-22, 22:18   #129
kruoli
 
kruoli's Avatar
 
"Oliver"
Sep 2017
Porta Westfalica, DE

28·3 Posts
Default

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.
kruoli is offline   Reply With Quote
Old 2021-10-22, 22:27   #130
VBCurtis
 
VBCurtis's Avatar
 
"Curtis"
Feb 2005
Riverside, CA

52×7×29 Posts
Default

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.
VBCurtis is offline   Reply With Quote
Old 2021-10-22, 23:49   #131
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

2×29×71 Posts
Default

Quote:
Originally Posted by kruoli View Post
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 View Post
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.
EdH is offline   Reply With Quote
Old 2021-10-23, 00:48   #132
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

2·29·71 Posts
Default

Quote:
Originally Posted by EdH View Post
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

log="CADOhtml.log"

echo "<!DOCTYPE html>" >TeamSieve.html
echo "<html>" >>TeamSieve.html
echo "<head>" >>TeamSieve.html
echo "<title>Team Sieve data for 3,748+</title>" >>TeamSieve.html
echo "</head>" >>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
EdH is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using 16e on smaller numbers fivemack Factoring 3 2017-09-19 08:52
NFS on smaller numbers? skan YAFU 6 2013-02-26 13:57
Bernoulli(200) c204 akruppa Factoring 114 2012-08-20 14:01
checking smaller number fortega Data 2 2005-06-16 22:48
Factoring Smaller Numbers 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

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.