Jump to content
  • 0

[HELP] crashing server, pet manager problem


Question

Posted

hello,

sorry for wrong area with first topic.

 

server is crashing because of lack of memory (8gb + some swap), problem is with pet manager (improved pets)... did anyone notice sth like that?

regards and thx for answer

8 answers to this question

Recommended Posts

  • 0
Posted

server is working well, then after some time sth eats memory faster and faster... then starting to use swap file (because server is out of memo), and then server crash...

it happened after adding improved pets, so perhaps sth is not ok with them or with pet manager...

and im trying to figure our whats going on, why it happens, and im asking, maybe some1 else has similiar problem..

  • 0
Posted

thats all, like i wrote.. no casual errors or sth, just memory usage grows and grows and when server is out of memo dies...

 

 

edit:

WARNING

com.l2jfree.util.concurrent.ExecuteWrapper.execute(): Exception in a

Runnable execution:

java.lang.NullPointerException

 

//~15, 20mb

 

it happens when improved pet gives buffs

  • 0
Posted

Try something else

 

Go to Start Gameserver.bat press right click and edit.Is should be like this:

 

@echo off

title Game Server Console

:start

echo Starting L2J_XoDc Game Server.

echo.

REM -------------------------------------

REM Default parameters for a basic server.

java -Xmx512m -cp bsf.jar;bsh-2.0b4.jar;commons-logging- <---Replace here the Xmx512m  1.1.jar;mmocore.jar;javolution.jar;c3p0-0.9.1.2.jar;mysql-connector-java-5.0.7-bin.jar;l2jserver.jar;jython.jar net.sf.l2j.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 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

 

 

So now it should be looking like this:

@echo off

title Game Server Console

:start

echo Starting L2J_XoDc Game Server.

echo.

REM -------------------------------------

REM Default parameters for a basic server.

java -Xmx2049m -cp bsf.jar;bsh-2.0b4.jar;commons-logging-1.1.jar;mmocore.jar;javolution.jar;c3p0-0.9.1.2.jar;mysql-connector-java-5.0.7-bin.jar;l2jserver.jar;jython.jar net.sf.l2j.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 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

 

Tell me if it helped.

  • 0
Posted

all good now, sth was screwed with pets/buffs part of datapack, copy/paste from npc buffer kinda works i think.

thx for help, and thx for info with changing memo, ill write it down and keep for next memo issue;)

regards!

  • 0
Posted

all good now, sth was screwed with pets/buffs part of datapack, copy/paste from npc buffer kinda works i think.

thx for help, and thx for info with changing memo, ill write it down and keep for next memo issue;)

regards!

Locked. Next time post in English Section.

Guest
This topic is now closed to further replies.


×
×
  • Create New...