Page 1 of 1

Shutdown Problem

Posted: Fri Jul 10, 2009 12:25 pm
by Kami
L2J Revision Number:3277
L2JDP Revision Number: 6388

Well it's a clean compile .. no extras
on Linux server (suse 10) the server does not shutdown or restart..

Code: Select all

 GM: Nazgul(268504788) issued shutdown command. SIGTERM in 10 seconds!GM shutdown countdown is over. restarting NOW! 
and then ... server stucks. . cpu 100% it's almost impossible to get on the server because it's abused by java
so yeah .. serious problem
i'll try to compile an older version in some hours to see if it will work

Re: Shutdown Problem

Posted: Fri Jul 10, 2009 12:29 pm
by lishawj
Kami wrote:L2J Revision Number:3277
L2JDP Revision Number: 6388

Well it's a clean compile .. no extras
on Linux server (suse 10) the server does not shutdown or restart..

Code: Select all

 GM: Nazgul(268504788) issued shutdown command. SIGTERM in 10 seconds!GM shutdown countdown is over. restarting NOW! 
and then ... server stucks. . cpu 100% it's almost impossible to get on the server because it's abused by java
so yeah .. serious problem
i'll try to compile an older version in some hours to see if it will work
If you do a search, you'll find that it's a result of changeset 3206. A search will return this thread.
viewtopic.php?f=81&t=12160


Below is commit comment for changeset 3206.
TradeController?: Could not store Count Item" fix.
During shutdown executeTask() throw exception and buylists not saved.
Caution: first shutdown can be very slow (due to massive amount of non-updated tradelists

Re: Shutdown Problem

Posted: Fri Jul 10, 2009 12:35 pm
by Kami
ah i did not see the second page i'm sorry .. thx good/bad to know

Re: Shutdown Problem

Posted: Fri Jul 10, 2009 12:37 pm
by janiii
the [3206] issue is after grandboss save, so at least he would have there the line stating that grandbosses were saved..

Code: Select all

SIGTERM received. Shutting down NOW!RaidBossSpawnManager: All raidboss info saved!!GrandBossManager: All Grand Boss info saved![b]...here is the waiting.. from [3206][/b]
so he has probably other problem.. :/

Kami did you wait some time if the shutdown does anything?

Re: Shutdown Problem

Posted: Fri Jul 10, 2009 12:49 pm
by lishawj
Kami,

Try downgrading your java version to 6 u3 as it seem that version is "friends" with changeset 3206. It may or may not help but worth a try.

SIGTERM received. Shutting down NOW!
RaidBossSpawnManager: All raidboss info saved!!
GrandBossManager: All Grand Boss info saved!
...here is the waiting.. from [3206]
Oddly, I do not get that GrandbossManager info saved message when using Java 6 u13 or u14 but I get it using Java 6u3. Err....lol.

Re: Shutdown Problem

Posted: Fri Jul 10, 2009 12:52 pm
by Kami
well i killed the server manually ...
well i know it was not so good
but the last restart i did... was fast normal... now wait ôO
i don't know maybe it's really only first time
i'll have an eye on this

Re: Shutdown Problem

Posted: Fri Jul 10, 2009 12:55 pm
by janiii
ah, you have to enable shutdown logging to see that messages.. sry forgot to mention it as i have it enabled ^^

look in startGameServer.bat/GameServer_loop.sh

Code: Select all

-Djava.util.logging.manager=net.sf.l2j.util.L2LogManager
in [3283] commited that shutdown logging is enabled by default..

Re: Shutdown Problem

Posted: Fri Jul 10, 2009 12:57 pm
by Kami
janiii do u have to wait on every restart? ôO

Re: Shutdown Problem

Posted: Fri Jul 10, 2009 1:06 pm
by janiii
Kami wrote:janiii do u have to wait on every restart? ôO
should be only when the timers of tradeitems are saved. that is on first shutdown and then when the timers are passed. on a live server the timers are saved in game, so on shutdown there shouldn't be anymore much waiting.