Page 1 of 1

Loginserver and gameserver process on linux

Posted: Tue Mar 16, 2010 3:08 am
by NoGeRa
Hi guys!!

I run l2jserver on linux(debian lenny) and this work fine, but if I want to shutdown the server I need to find the server's process and killing then, this work is a complicated.

there any way to close those processes faster and easier to find by console to kill them?

Sorry for my bad english.

Re: Loginserver and gameserver process on linux

Posted: Tue Mar 16, 2010 4:50 am
by poltomb
telnet

Re: Loginserver and gameserver process on linux

Posted: Tue Mar 16, 2010 5:19 pm
by Vapulabe
if you don't have any other java application : killall -HUP java ; sleep 30 ; killall java ; sleep 30 ; killall -KILL java

I don't know if L2J exists cleanly when it gets a SIGHUP or a SIGTERM... let L2J expert decide...

But when I stop it, it's usually because it leaked too much memory and don't respond... neither ingame nor to telnets.

Re: Loginserver and gameserver process on linux

Posted: Wed Mar 17, 2010 11:03 am
by blacksea
telnet its best.. if you didnt config telnet use "ps aux" see "pid" and after "kill -9 pid"

Re: Loginserver and gameserver process on linux

Posted: Wed Mar 17, 2010 10:17 pm
by NoGeRa
Ok, thx a lot =D