PDA

View Full Version : Server Loader Program


doemondo
28.03.2005, 06:31
I just made a prog to boot the server when it crashes (checks memory usage on L2NPC and L2Server so either have a problem and boots the machine) so it stays up even when im not around.
(Readme tells you all settings you must do to make windows auto-login with the server booting again)

Just thought I would share, as of now there is NO options at all, made for my server so the wait times are set to a 3.0ghz with 512mb of ram (since low ram, wait times should be long enough for everyone)

Tons of info in the included readme.txt

Dubie
28.03.2005, 07:06
Kick ass bro good job on this I will test it out here in a lil on our beta server.

Much apprecitared.

Peace,
Dubie

doemondo
28.03.2005, 07:22
My npc just got a DB socket close... and my server booted even b4 l2npc.exe was closed, this mem usage idea is working great for me
(tried a lot of other stuff b4)

fitz_roy
28.03.2005, 07:35
gonna give it a try soon too.
btw, since i am running my server in 2 comps (one for database and auth and another one for L2server), is it possible to do the same for the 2nd also? Most of the time it's CacheD that crashes...

doemondo
28.03.2005, 08:07
this version only monitors L2Server and L2NPC for crashes

IF i get some time and decide to throw in a bunch of options, this will be on the the things i put in

doemondo
28.03.2005, 08:10
oh, and honestly i have never had cacheD crash, so i wouldnt know what happens to its memory usage when it does etc...

but im sure it will happen to me eventually :)

Dubie
28.03.2005, 08:51
Mine is starting to crash at times it looks like. "CacheD"
Over 2000 ppl on might be doing lots of things going on.

Anyways I run a Windows 2003 Server and it does not seem to stop ppl from loging in when starting up.
Seen it said XP so its probably not setup for 2003 Server just though I would let you know.

Thanks for your time,
Dubie

flakka
28.03.2005, 08:56
Damn, that's a lot of users, dubie! :shock:

Oh, and thanks doemondo! I already replied to your thread at RZ, hehe. :wink:

fitz_roy
28.03.2005, 09:45
CacheD crashes for me when there are more than 2,200 people on line and the pending writes value goes way up. If we could make a script that would delete all the unowned items laying on the ground after, lets say, 10 minutes, it would greatly improve the server's stability (got millions of arrows left on the ground after 12 hours or so...).

Anyways, when the option to reboot system where cached runs is added, I'll be in for a major relief...

torrentpimp
28.03.2005, 13:27
I love you I'll grab it and host it

doemondo
28.03.2005, 19:18
Ok i heard someone say it doesnt block users from connecting on Win2003 server (yeah it doesnt only Windows XP and only with SP2, saying that you can change the firewall shortcuts to target a file instead of starting windows firewall, so you could use your own firewall prog)

Ok when cached crashes does the prog exit right away?
Or does it do what L2NPC does (Drop in mem usage for 10min or more b4 the actual prog erros out)

It wouldnt be hard for me to addd a cached checker...

fitz_roy
28.03.2005, 19:25
Ok i heard someone say it doesnt block users from connecting on Win2003 server (yeah it doesnt only Windows XP and only with SP2, saying that you can change the firewall shortcuts to target a file instead of starting windows firewall, so you could use your own firewall prog)

Ok when cached crashes does the prog exit right away?
Or does it do what L2NPC does (Drop in mem usage for 10min or more b4 the actual prog erros out)

It wouldnt be hard for me to addd a cached checker...

from what i've seen it exits immediately, causing everything else to crash.The only thing that remains running is AuthD actually.

doemondo
28.03.2005, 19:55
Here ya go, ServerLoader2 with Cached Monitoring compatibiliy (Just to make sure an Instance of CacheD.exe is running, i hope this is what you guys wanted)

Good thing is I added some options, so you can set all times and check if u want to monitor dif files, in other words on one comp u could be monitoring L2NPC and on a dif comp you could monitor CacheD etc...

torrentpimp
28.03.2005, 20:08
sweeet

fitz_roy
28.03.2005, 22:05
perfect, thanks!

fitz_roy
29.03.2005, 16:53
Hmm one question: Does the program unload the firewall based on its timer or based of the l2npc mem usage?
coz, if its the latter, the firewall will stay on the machine that runs cached for ever...

Moreover, when running the server on 2 machines, windows firewall is a disaster coz they cant connect to each other either!

Dubie
29.03.2005, 18:07
Yes it if run yours on 2 different server then the firewall option would not be a good idea for you to use.

You could make one with out it just for x2 server use

doemondo
29.03.2005, 20:21
firewall turns off because of timer, so on cacheD machine u could set all your timers to 1 or something

or just change the firewallon and firewalloff shortcuts to do something else? (take the enable and disable off the end and they wont change your firewall settings)