Shutdown Problem

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
Kami
Posts: 24
Joined: Sun May 17, 2009 4:50 pm

Shutdown Problem

Post 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
Yes I'm German..
So don't worry 'bout my english ;/
lishawj
Posts: 253
Joined: Thu Apr 30, 2009 12:29 am

Re: Shutdown Problem

Post 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
Kami
Posts: 24
Joined: Sun May 17, 2009 4:50 pm

Re: Shutdown Problem

Post by Kami »

ah i did not see the second page i'm sorry .. thx good/bad to know
Yes I'm German..
So don't worry 'bout my english ;/
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Shutdown Problem

Post 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?
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
lishawj
Posts: 253
Joined: Thu Apr 30, 2009 12:29 am

Re: Shutdown Problem

Post 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.
Kami
Posts: 24
Joined: Sun May 17, 2009 4:50 pm

Re: Shutdown Problem

Post 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
Yes I'm German..
So don't worry 'bout my english ;/
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Shutdown Problem

Post 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..
Last edited by janiii on Fri Jul 10, 2009 1:03 pm, edited 2 times in total.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
Kami
Posts: 24
Joined: Sun May 17, 2009 4:50 pm

Re: Shutdown Problem

Post by Kami »

janiii do u have to wait on every restart? ôO
Yes I'm German..
So don't worry 'bout my english ;/
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Shutdown Problem

Post 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.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
Post Reply