Page 1 of 1

GameServer Error

Posted: Mon Mar 07, 2011 8:55 pm
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

Re: GameServer Error

Posted: Tue Mar 08, 2011 1:11 am
by hope
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:
L2JDP Revision Number:

Re: GameServer Error

Posted: Tue Mar 08, 2011 1:35 am
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 ?

Re: GameServer Error

Posted: Tue Mar 08, 2011 2:03 am
by badboy29
java.lang.OutOfMemoryError: PermGen space
Post your settings, java/mysql/machine/how much players you have.

Re: GameServer Error

Posted: Tue Mar 08, 2011 10:41 am
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

Re: GameServer Error

Posted: Tue Mar 08, 2011 11:53 am
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?

Re: GameServer Error

Posted: Tue Mar 08, 2011 1:01 pm
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.

Re: GameServer Error

Posted: Tue Mar 08, 2011 8:09 pm
by hope
how much ram do you have with the server pc?

Re: GameServer Error

Posted: Wed Mar 09, 2011 12:27 am
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.

Re: GameServer Error

Posted: Wed Mar 09, 2011 11:07 am
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