Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 28.03.2005, 06:31   #1
doemondo
Архивный участник
 
Join Date: Feb 2005
Posts: 30
Default Server Loader Program

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
doemondo is offline  
Old 28.03.2005, 07:06   #2
Dubie
Архивный участник
 
Join Date: Mar 2005
Posts: 133
Default

Kick ass bro good job on this I will test it out here in a lil on our beta server.

Much apprecitared.

Peace,
Dubie
Dubie is offline  
Old 28.03.2005, 07:22   #3
doemondo
Архивный участник
 
Join Date: Feb 2005
Posts: 30
Default

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)
doemondo is offline  
Old 28.03.2005, 07:35   #4
fitz_roy
Архивный участник
 
Join Date: Feb 2005
Posts: 50
Default

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...
fitz_roy is offline  
Old 28.03.2005, 08:07   #5
doemondo
Архивный участник
 
Join Date: Feb 2005
Posts: 30
Default

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 is offline  
Old 28.03.2005, 08:10   #6
doemondo
Архивный участник
 
Join Date: Feb 2005
Posts: 30
Default

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
doemondo is offline  
Old 28.03.2005, 08:51   #7
Dubie
Архивный участник
 
Join Date: Mar 2005
Posts: 133
Default

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
Dubie is offline  
Old 28.03.2005, 08:56   #8
flakka
Архивный участник
 
Join Date: Mar 2005
Posts: 1,143
Default

Damn, that's a lot of users, dubie! :shock:

Oh, and thanks doemondo! I already replied to your thread at RZ, hehe. :wink:
flakka is offline  
Old 28.03.2005, 09:45   #9
fitz_roy
Архивный участник
 
Join Date: Feb 2005
Posts: 50
Default

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...
fitz_roy is offline  
Old 28.03.2005, 13:27   #10
torrentpimp
Архивный участник
 
Join Date: Mar 2005
Posts: 282
Default

I love you I'll grab it and host it
torrentpimp is offline  
Old 28.03.2005, 19:18   #11
doemondo
Архивный участник
 
Join Date: Feb 2005
Posts: 30
Default

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...
doemondo is offline  
Old 28.03.2005, 19:25   #12
fitz_roy
Архивный участник
 
Join Date: Feb 2005
Posts: 50
Default

Quote:
Originally Posted by doemondo
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.
fitz_roy is offline  
Old 28.03.2005, 19:55   #13
doemondo
Архивный участник
 
Join Date: Feb 2005
Posts: 30
Default

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...
doemondo is offline  
Old 28.03.2005, 20:08   #14
torrentpimp
Архивный участник
 
Join Date: Mar 2005
Posts: 282
Default

sweeet
torrentpimp is offline  
Old 28.03.2005, 22:05   #15
fitz_roy
Архивный участник
 
Join Date: Feb 2005
Posts: 50
Default

perfect, thanks!
fitz_roy is offline  
Old 29.03.2005, 16:53   #16
fitz_roy
Архивный участник
 
Join Date: Feb 2005
Posts: 50
Default

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!
fitz_roy is offline  
Old 29.03.2005, 18:07   #17
Dubie
Архивный участник
 
Join Date: Mar 2005
Posts: 133
Default

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
Dubie is offline  
Old 29.03.2005, 20:21   #18
doemondo
Архивный участник
 
Join Date: Feb 2005
Posts: 30
Default

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)
doemondo is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 19:54.