mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   No Prime Left Behind (https://www.mersenneforum.org/forumdisplay.php?f=82)
-   -   LLRnet servers for NPLB (https://www.mersenneforum.org/showthread.php?t=10042)

gd_barnes 2009-01-26 11:55

[quote=MyDogBuster;160464]Thanks mate. I think I found a solution. MS Access will also do what I want.

The GB's are still not working for me??????? I can get the status page but I still can't get any work.[/quote]


Bad machine again. I swapped the hard drive to another but don't know how to restart the server.

CRUS port 3000 seems to be up. All I had to do is hit enter on the "prpserver" executable. Ian, you might try that one to see if you can get pairs.

Going to bed in 30 mins. If I get an answer by then, I'll try to start it. Otherwise, Max is aware of it and will start it when he gets on or it will be 8 hrs. before I'm on.


G

gd_barnes 2009-01-26 12:11

[quote=gd_barnes;160467]Bad machine again. I swapped the hard drive to another but don't know how to restart the server.

CRUS port 3000 seems to be up. All I had to do is hit enter on the "prpserver" executable. Ian, you might try that one to see if you can get pairs.

Going to bed in 30 mins. If I get an answer by then, I'll try to start it. Otherwise, Max is aware of it and will start it when he gets on or it will be 8 hrs. before I'm on.


G[/quote]


OMG, I actually got lucky and figured it out after multiple different attempts. Hopefully I didn't jack anything up. Here is the command that I used to restart port G4000 at the command prompt:

./llrnet llrserver.lua

Can someone verify that I executed the correct command?

Knowing absolutely nothing about the syntax of the command or what file to execute other than to execute a program in Linux, you have to start with "./", I'm floored. Right after I did it, it started "proposing", i.e. sending, pairs to Ian and in the system monitor, it showed an occurrence of LLRnet that is sleeping, which is exactly what it always does when the server is up. Now I can sleep better.

When you're good, you're good. lmao (ya right!)

Edit: Now it just shut itself back down after doing some pruning for no particular reason that I can see so I restarted it and it's running again. I suspect that's nothing I've done. I seem to recall others having a problem when a server goes down. Sometimes you have to wait a while or something like that to get it to stay up. Oh well, if it goes down again, Max should bring it back up or I will later today.


Gary

mdettweiler 2009-01-26 18:05

[QUOTE=gd_barnes;160468]OMG, I actually got lucky and figured it out after multiple different attempts. Hopefully I didn't jack anything up. Here is the command that I used to restart port G4000 at the command prompt:

./llrnet llrserver.lua

Can someone verify that I executed the correct command?

Knowing absolutely nothing about the syntax of the command or what file to execute other than to execute a program in Linux, you have to start with "./", I'm floored. Right after I did it, it started "proposing", i.e. sending, pairs to Ian and in the system monitor, it showed an occurrence of LLRnet that is sleeping, which is exactly what it always does when the server is up. Now I can sleep better.

When you're good, you're good. lmao (ya right!)

Edit: Now it just shut itself back down after doing some pruning for no particular reason that I can see so I restarted it and it's running again. I suspect that's nothing I've done. I seem to recall others having a problem when a server goes down. Sometimes you have to wait a while or something like that to get it to stay up. Oh well, if it goes down again, Max should bring it back up or I will later today.


Gary[/QUOTE]
Yep, you got it pretty well right--other than G4000 crashing shortly after (which isn't your fault anyway), it sounds like it's all working fine after you started it up. :smile:

I've noticed you've sent me a PM about this--I'll read and reply to that shortly with more details.

IronBits 2009-01-27 00:07

Ok, stopped the server and flushed it out, took it to one day, flushed it out, put it back to 3 days and restarted it.

See what you got.

Can anyone confirm/deny
1) That we [B]have[/B] to take a server offline before appending more pairs to knpairs.txt ???
2) That the server only reads the llr-serverconfig.txt file ONCE at startup so any changes made to llr-serverconfig.txt after a server is running will be ignored until it is stopped and restarted?

IF the above are both true, then is there anything in a .lua file or something else that can be done so that if it sees a change, it re-reads it?
(thinking dnetc clients...)

[quote=gd_barnes;160436]David,

Please set the JobMaxTime for port 8000 at 1 day. I'll have you set it back to 3 days sometime late Monday night.

We have some low k/n pairs that need to be cleared out.


Thanks,
Gary[/quote]

mdettweiler 2009-01-27 02:16

[quote=IronBits;160579]Can anyone confirm/deny
1) That we [B]have[/B] to take a server offline before appending more pairs to knpairs.txt ???
2) That the server only reads the llr-serverconfig.txt file ONCE at startup so any changes made to llr-serverconfig.txt after a server is running will be ignored until it is stopped and restarted?

IF the above are both true, then is there anything in a .lua file or something else that can be done so that if it sees a change, it re-reads it?
(thinking dnetc clients...)[/quote]
Well, based on what I've seen, neither the client or server reads any of the config or LUA files after it's initially restarted. Though, I guess it would be possible to add some code that makes it automatically re-read the serverconfig file, say, every 5 minutes or so...

IronBits 2009-01-27 02:26

Once an hour, or better yet, every time it does the prunePeriod would be fine to.
I keep mine at hourly ;)
Adding another batch of pairs to knpairs.txt while the server was running would be a great feature to.

mdettweiler 2009-01-27 04:12

Okay, I just logged on to Gary's machine and verified that all the servers are fully up and running the way they should be (except for the while-loop thing that I use as a failsafe for server crashes, but which the servers can still function quite well without). All GB-servers are now officially open for business again. :smile:

Brucifer 2009-01-28 18:53

In linux it would seem that you should be able to make a change to the configuration file, and then do a "ps- aux" to get the PID number of the running process for the llrnet server. And assuming that it is 2222 for example, do a
kill -HUP 2222
and hit return and it should reread the config file and keep on running without interuption.

vaughan 2009-02-01 21:54

Are the 8000 and 9000 servers running? Today I'm seeing tasks accumulating in the "unsent result(s)" pane of the GUI.

Flatlander 2009-02-01 21:54

Port 8000 is sleeping here. (For over an hour.)

IronBits 2009-02-01 22:39

Damn it!!! /bangs head
I moved the motherboard box out from under the motherboard so it could get cooled off better by having the bottom of the motherboard exposed to cooler air.
ya, about an hour ago... sheesh
Rebooted, all servers back running again.
Sorry for the inconvenience it may have caused anyone.


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

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.