GameServer Error

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
User avatar
jorgeromero
Posts: 65
Joined: Thu Sep 03, 2009 4:33 pm
Location: France

GameServer Error

Post by jorgeromero »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:
L2JDP Revision Number:

Hello Friends,

My server is crashing and printing the message on the gameserver.

Can anyone help me?

Exception in thread "Normal Packet Pool-2" java.lang.OutOfMemoryError: PermGen s
pace
Exception in thread "AISTPool-5" java.lang.NullPointerException
at com.l2jserver.gameserver.model.zone.type.L2EffectZone.getSkillLevel(L
2EffectZone.java:226)
at ai.group_template.DenOfEvil$KashaDestruction.run(DenOfEvil.java:200)
at com.l2jserver.gameserver.ThreadPoolManager$RunnableWrapper.run(Thread
PoolManager.java:86)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
access$301(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
SevenSigns: Data updated successfully.
Exception in thread "AISTPool-6" java.lang.OutOfMemoryError: PermGen space
Exception in thread "AISTPool-4" java.lang.OutOfMemoryError: PermGen space
Exception in thread "AISTPool-5" java.lang.OutOfMemoryError: PermGen space
Exception in thread "AISTPool-4" java.lang.OutOfMemoryError: PermGen space
Exception in thread "AISTPool-1" Exception in thread "AISTPool-5" java.lang.OutO
fMemoryError: PermGen space
Exception in thread "AISTPool-4" java.lang.OutOfMemoryError: PermGen space
Exception in thread "AISTPool-2" java.lang.OutOfMemoryError: PermGen space
Exception in thread "AISTPool-6" java.lang.OutOfMemoryError: PermGen space
Exception in thread "AISTPool-5" java.lang.OutOfMemoryError: PermGen space
Exception in thread "AISTPool-3" java.lang.OutOfMemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space
Exception in thread "GeneralSTPool-9" java.lang.NullPointerException
at com.l2jserver.gameserver.model.zone.type.L2EffectZone$ApplySkill.run(
L2EffectZone.java:254)
at com.l2jserver.gameserver.ThreadPoolManager$RunnableWrapper.run(Thread
PoolManager.java:86)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)

at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
access$101(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
runPeriodic(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception in thread "AISTPool-4" java.lang.OutOfMemoryError: PermGen space
Exception in thread "AISTPool-4" Cache[HTML]: Running lazy cache
Exception in thread "AISTPool-2" java.lang.OutOfMemoryError: PermGen space
Exception in thread "AISTPool-1" Exception in thread "AISTPool-5" java.lang.OutO
fMemoryError: PermGen space
Exception in thread "AISTPool-2" java.lang.OutOfMemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space
Exception in thread "AISTPool-6" java.lang.OutOfMemoryError: PermGen space
Exception in thread "AISTPool-3" java.lang.OutOfMemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space
Exception in thread "AISTPool-6" java.lang.OutOfMemoryError: PermGen space
Exception in thread "AISTPool-5" java.lang.OutOfMemoryError: PermGen space
Exception in thread "AISTPool-6" java.lang.OutOfMemoryError: PermGen space
Exception in thread "AISTPool-1" java.lang.OutOfMemoryError: PermGen space
Exception in thread "AISTPool-3" java.lang.OutOfMemoryError: PermGen space
Exception in thread "AISTPool-4" java.lang.OutOfMemoryError: PermGen space
Exception in thread "GeneralSTPool-3" java.lang.NullPointerException
Exception in thread "GeneralSTPool-12" java.lang.NullPointerException
Exception in thread "AISTPool-3" java.lang.OutOfMemoryError: PermGen space
Exception in thread "AISTPool-1" java.lang.OutOfMemoryError: PermGen space
Exception in thread "AISTPool-2" Exception in thread "AISTPool-5" java.lang.OutO
fMemoryError: PermGen space
Exception in thread "AISTPool-4" java.lang.OutOfMemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space
Exception in thread "AISTPool-6" java.lang.OutOfMemoryError: PermGen space
Exception in thread "AISTPool-4" java.lang.OutOfMemoryError: PermGen space
Exception in thread "AISTPool-1" java.lang.OutOfMemoryError: PermGen space
Exception in thread "AISTPool-5" java.lang.OutOfMemoryError: PermGen space
Exception in thread "AISTPool-2" java.lang.OutOfMemoryError: PermGen space
Exception in thread "GeneralSTPool-3" java.lang.NullPointerException
Exception in thread "AISTPool-1" java.lang.OutOfMemoryError: PermGen space
Exception in thread "AISTPool-4" java.lang.OutOfMemoryError: PermGen space
Exception in thread "AISTPool-3" java.lang.OutOfMemoryError: PermGen space
Exception in thread "AISTPool-2" java.lang.OutOfMemoryError: PermGen space
Exception in thread "AISTPool-6" java.lang.OutOfMemoryError: PermGen space
Exception in thread "AISTPool-3" java.lang.OutOfMemoryError: PermGen space
Exception in thread "AISTPool-6" java.lang.OutOfMemoryError: PermGen space
Exception in thread "AISTPool-1" java.lang.OutOfMemoryError: PermGen space
Exception in thread "AISTPool-2" java.lang.OutOfMemoryError: PermGen space
Exception in thread "GeneralSTPool-9" Exception in thread "AISTPool-4" java.lang
.OutOfMemoryError: PermGen space
java.lang.NullPointerException
Exception in thread "GeneralSTPool-13" java.lang.NullPointerException
Exception in thread "GeneralSTPool-12" java.lang.NullPointerException
GlobalVariablesManager: Database updated.
GlobalVariablesManager: Data updated successfully.
Exception in thread "AISTPool-3" java.lang.OutOfMemoryError: PermGen space
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: GameServer Error

Post by hope »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:
L2JDP Revision Number:
User avatar
jorgeromero
Posts: 65
Joined: Thu Sep 03, 2009 4:33 pm
Location: France

Re: GameServer Error

Post by jorgeromero »

hope wrote:If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:
L2JDP Revision Number:
Do not you understand? I asked a question. If anyone knows me explain why this message in GS!

Do you is INSANE ?
User avatar
badboy29
Posts: 417
Joined: Fri Apr 24, 2009 5:34 am
Location: Brazil

Re: GameServer Error

Post by badboy29 »

java.lang.OutOfMemoryError: PermGen space
Post your settings, java/mysql/machine/how much players you have.
Aka UnHoly
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: GameServer Error

Post by hope »

jorgeromero wrote:
hope wrote:If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:
L2JDP Revision Number:
Do not you understand? I asked a question. If anyone knows me explain why this message in GS!

Do you is INSANE ?
you dont understand follow forum rules
User avatar
SolidSnake
Posts: 865
Joined: Wed Jan 20, 2010 6:54 pm
Location: Italy

Re: GameServer Error

Post by SolidSnake »

If an user with 900 posts ask you to give an info, there is a reason. Anyway before gameserver console shows this message, do you reload something in game?
Image
User avatar
jorgeromero
Posts: 65
Joined: Thu Sep 03, 2009 4:33 pm
Location: France

Re: GameServer Error

Post by jorgeromero »

SolidSnake wrote:If an user with 900 posts ask you to give an info, there is a reason. Anyway before gameserver console shows this message, do you reload something in game?
Thanks for your reply SolidSnake. I spoke that way with member Hope, because I see no need for him to write with a font so large, even though he almost 900 posts.

liberated more memory for the GS. After that, the problem did not happen anymore. Please see if my settings are correct.
@echo off
title Game Server Console
:start
echo Starting L2J Game Server.
echo.
REM -------------------------------------
REM Default parameters for a basic server.
java -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -Xms1024m -Xmx4092m -cp ./../libs/*;l2jserver.jar com.l2jserver.gameserver.GameServer
REM
REM If you have a big server and lots of memory, you could experiment for example with
REM java -server -Xmx1536m -Xms1024m -Xmn512m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts
REM If you are having troubles on server shutdown (saving data),
REM add this to startup paramethers: -Djava.util.logging.manager=com.l2jserver.L2LogManager. Example:
REM java -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -Xmx1024m -cp ./../libs/*;l2jserver.jar com.l2jserver.gameserver.GameServer
REM -------------------------------------
if ERRORLEVEL 2 goto restart
if ERRORLEVEL 1 goto error
goto end
:restart
echo.
echo Admin Restart ...
echo.
goto start
:error
echo.
echo Server terminated abnormaly
echo.
:end
echo.
echo server terminated
echo.
pause
I await your response.

Thank you.
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: GameServer Error

Post by hope »

how much ram do you have with the server pc?
User avatar
jorgeromero
Posts: 65
Joined: Thu Sep 03, 2009 4:33 pm
Location: France

Re: GameServer Error

Post by jorgeromero »

Below is my server settings:

Intel Core2Quad Q9300
8GB Ram DDR3
500GB Hard Disk Sata II
Mysql 5.1


is strange is going on this issue. If anyone can help me I thank you.
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: GameServer Error

Post by hope »

-Xms1024m -Xmx4092m
+Xms4g -Xmx4g

update your mysql to 5.5
you could even go lower ram than this depends how many players you have and a few other setting you have but try this for now see if it helps

and turn off the logs will cut down on lag a bit
Post Reply