L2JDP Revision Number:6867
server :windows server 2008 64 bit 8gb ram
hello all,
my server works fine but with the last update to this rev.,every 7-10 hours i get this error in the
game cosole and after this error server freeze and all player disconnect abnormally!
ty from now for help!
![Very Happy :D](./images/smilies/icon_biggrin.gif)
p.s.i dont think thats the problem is from the java something!
because before half hour i was on my test server loged in and get disconnect .
show in the console and has this error too.in same time with the other server.
the other server was running for 8 hours and the test 1 hour so something else make this crash!
ty
this is the error:
Jan 14, 2010 12:53:25 AM com.mchange.v2.resourcepool.BasicResourcePool prelimCheckoutResource
WARNING: com.mchange.v2.resourcepool.BasicResourcePool@49938039 -- an attempt to checkout a resource was interrupted, and the pool is still live: some other thread must have either interrupted the Thread attempting checkout!
java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1315)
at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557)
at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525)
at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)
at net.sf.l2j.L2DatabaseFactory.getConnection(L2DatabaseFactory.java:220)
at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.storeCharBase(L2PcInstance.java:7785)
at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.store(L2PcInstance.java:7760)
at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.store(L2PcInstance.java:7768)
at net.sf.l2j.gameserver.network.L2GameClient.saveCharToDisk(L2GameClient.java:300)
at net.sf.l2j.gameserver.network.L2GameClient$AutoSaveTask.run(L2GameClient.java:727)
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)
then all players disconnect abnormally
my gameserver.bat is:
@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=net.sf.l2j.util.L2LogManager -Xmx5120m -cp ./../libs/*;l2jserver.jar net.sf.l2j.gameserver.GameServer
REM
REM If you have a big server and lots of memory, you could experiment for example with
java -server -Xmx5120m -Xms2560m -Xmn1534m -XX:PermSize=1024m -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=net.sf.l2j.L2LogManager. Example:
REM java -Djava.util.logging.manager=net.sf.l2j.util.L2LogManager -Xmx4096m -cp ./../libs/*;l2jserver.jar net.sf.l2j.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