mersenneforum.org  

Go Back   mersenneforum.org > Prime Search Projects > No Prime Left Behind

Reply
 
Thread Tools
Old 2009-01-11, 08:54   #694
Flatlander
I quite division it
 
Flatlander's Avatar
 
"Chris"
Feb 2005
England

31·67 Posts
Default

Quote:
Originally Posted by IronBits View Post
For those of you that might be curious what the console scrolling looks like on a busy llrnet nplb Server handing out ~200,000 knpairs per day might look like, I give you:
http://nplb.ironbits.net/images/port9000action.mov
Warning: It is about 25 MEG in size
Hopefully it won't get /. type coverage and bring us to our knees.
Okay, I've watched the movie. Will there be a book?
Flatlander is offline   Reply With Quote
Old 2009-01-11, 10:03   #695
IronBits
I ♥ BOINC!
 
IronBits's Avatar
 
Oct 2002
Glendale, AZ. (USA)

111310 Posts
Default

I think we can add another 50-100 cores tho...
looking to see where/when it might break down.
No books, can't read

Get Mr. Sheep to come back on it will help.

Last fiddled with by IronBits on 2009-01-11 at 10:04
IronBits is offline   Reply With Quote
Old 2009-01-11, 11:01   #696
gd_barnes
 
gd_barnes's Avatar
 
May 2007
Kansas; USA

22×17×149 Posts
Default

Quote:
Originally Posted by henryzz View Post
i actually meant a time gap
when are the timestamps set
is it before the client fails to send the results to the server or after
Max,

I think Henry meant that we could determine how long my server was down by looking at the gap in the timestamp of the results. I think I'll go check that now. Good idea Henry.


Gary
gd_barnes is online now   Reply With Quote
Old 2009-01-11, 11:12   #697
gd_barnes
 
gd_barnes's Avatar
 
May 2007
Kansas; USA

22·17·149 Posts
Default

Quote:
Originally Posted by MyDogBuster View Post
Looks like G3000 & G4000 are down.

It's Gary, we had no problems when he was out of town. LOL
Quote:
Originally Posted by gd_barnes View Post
Max,

I think Henry meant that we could determine how long my server was down by looking at the gap in the timestamp of the results. I think I'll go check that now. Good idea Henry.


Gary

Well, I just analyzed the results from Jan. 9th. It was not too bad compared to last time. Results were returned at:

18:20:56
-and-
20:08:39


So my IP address changing caused my server to be down for a little over 1 hour 47 mins.

Now that we hopefully have the no-IP thing set up properly, I think we can assume that any IP address change on my end will "only" (lol) cause a 2-hour outage or less of my servers.

Ian or whomever connects to port G4000 or any other server of mine for NPLB or CRUS, just cache enough pairs on each of your machines to last 2-3 hours. For this drive at the testing time of the current n-range, I think cacheing 25 pairs should be sufficient. If you do that and the server later drops, your CPU's will just keep right on crunching and when it comes back up, your machines should send all of the queued results.

I will make note of the dates that this happens starting now. I want to determine if there is a pattern of when they occur and how often.


Gary
gd_barnes is online now   Reply With Quote
Old 2009-01-11, 13:07   #698
MyDogBuster
 
MyDogBuster's Avatar
 
May 2008
Wilmington, DE

22×709 Posts
Default

Quote:
Well, I just analyzed the results from Jan. 9th. It was not too bad compared to last time. Results were returned at:

18:20:56
-and-
20:08:39


So my IP address changing caused my server to be down for a little over 1 hour 47 mins.
Maybe, Maybe not.

I had to do ipconfig/flushdns on all my machines. When I did, they all got work. SOOOOOO If I had found the problem sooner, I would have fixed it sooner. Hard to say just how long your machine was down. Could have only been 5 minutes or anywhere in between. What was strange on this end was the fact that I had to "flush" them all. Usually some startup by themselves (I guess they could care less what your DNS is), but not this time. And the plot thickens.

Late entry, I have 2 cores on 2 different machines running PRPNet. They hung also (and needed the flush).
MyDogBuster is offline   Reply With Quote
Old 2009-01-11, 13:34   #699
em99010pepe
 
em99010pepe's Avatar
 
Sep 2004

2·5·283 Posts
Default

The famous Gary's stable internet connection...lol

Last fiddled with by em99010pepe on 2009-01-11 at 13:39
em99010pepe is offline   Reply With Quote
Old 2009-01-11, 14:24   #700
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

17×251 Posts
Default

Quote:
Originally Posted by MyDogBuster View Post
Maybe, Maybe not.

I had to do ipconfig/flushdns on all my machines. When I did, they all got work. SOOOOOO If I had found the problem sooner, I would have fixed it sooner. Hard to say just how long your machine was down. Could have only been 5 minutes or anywhere in between. What was strange on this end was the fact that I had to "flush" them all. Usually some startup by themselves (I guess they could care less what your DNS is), but not this time. And the plot thickens.

Late entry, I have 2 cores on 2 different machines running PRPNet. They hung also (and needed the flush).
The DNS at no-ip is set to expire after 1 minute. In a test I just did where I pinged the server repeatedly, it would not stop and get a new IP when the normal expiration time is up when the pinging is continually going, but when I stop the ping and restart it with the command again, it will check again if the expiration time is up. (though this might be more related to the ping command in Windows, which seems to resolve it once then ping the IP; a program might always point to the URL whenever it needs to access the outside system, in which case I'd expect the 1 minute TTL to function correctly) Maybe if you still have connections it won't check no matter the expiration time. The only thing flushing the DNS is doing is forcing it to expire it and find it again, while it probably should have expired by now anyway with the 1 minute TTL (time to live).

Last fiddled with by Mini-Geek on 2009-01-11 at 14:37
Mini-Geek is offline   Reply With Quote
Old 2009-01-11, 14:32   #701
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3×2,083 Posts
Default

Quote:
Originally Posted by MyDogBuster View Post
Maybe, Maybe not.

I had to do ipconfig/flushdns on all my machines. When I did, they all got work. SOOOOOO If I had found the problem sooner, I would have fixed it sooner. Hard to say just how long your machine was down. Could have only been 5 minutes or anywhere in between. What was strange on this end was the fact that I had to "flush" them all. Usually some startup by themselves (I guess they could care less what your DNS is), but not this time. And the plot thickens.

Late entry, I have 2 cores on 2 different machines running PRPNet. They hung also (and needed the flush).
Yes, indeed...it appears that the DNS records themselves are being updated quite quickly, but instead the main problem that makes the servers unreachable is this infernal DNS cache thing that needs to be flushed on the clients. I haven't really had much of a problem with this, but then again, some Google research I did indicated that most Linux distros that don't specifically have DNS caching software installed don't cache DNS records anyway, so thus my computer will be able to access the server as soon as the DNS records are updated.
mdettweiler is offline   Reply With Quote
Old 2009-01-11, 14:34   #702
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT)

161D16 Posts
Default

Quote:
Originally Posted by mdettweiler View Post
Yes, indeed...it appears that the DNS records themselves are being updated quite quickly, but instead the main problem that makes the servers unreachable is this infernal DNS cache thing that needs to be flushed on the clients. I haven't really had much of a problem with this, but then again, some Google research I did indicated that most Linux distros that don't specifically have DNS caching software installed don't cache DNS records anyway, so thus my computer will be able to access the server as soon as the DNS records are updated.
is there a way for people to have their cruching pc flush the cache every 15 mins or something like that all the time
henryzz is offline   Reply With Quote
Old 2009-01-11, 14:35   #703
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3×2,083 Posts
Default

Quote:
Originally Posted by Mini-Geek View Post
The DNS at no-ip is set to expire after 1 minute. In a test I just did where I pinged the server repeatedly, it would not stop and get a new IP when the normal expiration time is up when the pinging is continually going, but when I stop the ping and restart it with the command again, it will check again if the expiration time is up. (though this might be more related to the ping command in Windows, which seems to resolve it once then ping the IP; a program might always point to the URL whenever it needs to access the outside system, in which case I'd expect the 1 minute TTL to function correctly) Maybe if you still have connections it won't check no matter the expiration time. The only thing flushing the DNS is doing is forcing it to expire it and find it again.
Hmm...that's interesting. I figured that No-IP would have a very low TTL, like all dynamic DNS servers by necessity must have, but wasn't sure if Windows's cache would listen to that or not. Interesting theory about the active connections messing something up--though, I don't think LLRnet keeps its connections active between when it contacts the server, so I can't see how that would affect things for more than a few seconds, and even then, only on one or two clients that just *happened* to talk to the server during that maximum-1-minute downtime on No-IP's end.
mdettweiler is offline   Reply With Quote
Old 2009-01-11, 14:36   #704
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

624910 Posts
Default

Quote:
Originally Posted by henryzz View Post
is there a way for people to have their cruching pc flush the cache every 15 mins or something like that all the time
Maybe setting a scheduled task to run "ipconfig /flushdns" every 5 or 15 minutes would do the trick?
mdettweiler is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
PRPnet servers for NPLB mdettweiler No Prime Left Behind 228 2018-12-26 04:50
Servers for NPLB gd_barnes No Prime Left Behind 0 2009-08-10 19:21
LLRnet servers for CRUS gd_barnes Conjectures 'R Us 39 2008-07-15 10:26
NPLB LLRnet server discussion em99010pepe No Prime Left Behind 229 2008-04-30 19:13
NPLB LLRnet server #1 - dried em99010pepe No Prime Left Behind 19 2008-03-26 06:19

All times are UTC. The time now is 10:04.

Sun Jun 7 10:04:33 UTC 2020 up 74 days, 7:37, 0 users, load averages: 1.09, 1.02, 1.01

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, 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.