Jump to content
  • 0

l2j ep crash every 9 hours!


Question

Posted

i just moved 2 day ago to l2j project, server is compiled and not nightlies. Server work superb whit more than 200+ online, but at every 9 hours server crash with an pool thread error and i have to restart it by force... Server is fresh so is not updated to be a reason to miss some files...

few of my setting are:

 

cpu: quad q6600, ram 8gb, hdd raptor 15000 rpm 73 gb

windos 2003 sp2 x64, java update 20, latest mysql

 

mysql:

max_connections=600

tmp_table_size=256M

innodb_log_buffer_size=16M

innodb_buffer_pool_size=1024M

innodb_thread_concurrency=60

 

"C:\Program Files\Java\jre6\bin\java" -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -Xms1024m -Xmx4096m -cp ./../libs/*;l2jserver.jar com.l2jserver.gameserver.GameServer

 

ThreadPoolSizeEffects = 50

ThreadPoolSizeGeneral = 65

#Default 2

UrgentPacketThreadCoreSize = 10

#Default 4

GeneralPacketThreadCoreSize = 20

#Default 4

GeneralThreadCoreSize = 20

AiMaxThread = 20

MaximumDbConnections = 600

 

server crash even on default server/mysql configs

 

» Find Revision

L2J Revision Number: 7208

L2JDP Revision Number: 4089M

 

the error:

 

25.04.2010 02:13:12 com.l2jserver.gameserver.model.actor.L2Character$HitTask run

SEVERE: Failed executing HitTask.

java.lang.NullPointerException

25.04.2010 02:41:09 com.mchange.v2.resourcepool.BasicResourcePool prelimCheckoutResource

WARNING: com.mchange.v2.resourcepool.BasicResourcePool@24148662 -- 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 com.l2jserver.L2DatabaseFactory.getConnection(L2DatabaseFactory.java:221)

at com.l2jserver.gameserver.model.L2ItemInstance.updateInDb(L2ItemInstance.java:1521)

at com.l2jserver.gameserver.model.L2ItemInstance.updateDatabase(L2ItemInstance.java:1338)

at com.l2jserver.gameserver.model.L2ItemInstance.updateDatabase(L2ItemInstance.java:1309)

at com.l2jserver.gameserver.model.itemcontainer.ItemContainer.addItem(ItemContainer.java:266)

at com.l2jserver.gameserver.model.itemcontainer.PcInventory.addItem(PcInventory.java:424)

at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.addItem(L2PcInstance.java:3604)

at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.doAutoLoot(L2PcInstance.java:4678)

at com.l2jserver.gameserver.model.actor.L2Attackable.doItemDrop(L2Attackable.java:1501)

at com.l2jserver.gameserver.model.actor.L2Attackable.doItemDrop(L2Attackable.java:1412)

at com.l2jserver.gameserver.model.actor.L2Attackable.calculateRewards(L2Attackable.java:578)

at com.l2jserver.gameserver.model.actor.L2Character.doDie(L2Character.java:2103)

at com.l2jserver.gameserver.model.actor.L2Npc.doDie(L2Npc.java:1358)

at com.l2jserver.gameserver.model.actor.L2Attackable.doDie(L2Attackable.java:506)

at com.l2jserver.gameserver.model.actor.instance.L2MonsterInstance.doDie(L2MonsterInstance.java:206)

at com.l2jserver.gameserver.model.actor.status.CharStatus.reduceHp(CharStatus.java:197)

at com.l2jserver.gameserver.model.actor.status.NpcStatus.reduceHp(NpcStatus.java:51)

at com.l2jserver.gameserver.model.actor.status.AttackableStatus.reduceHp(AttackableStatus.java:49)

at com.l2jserver.gameserver.model.actor.L2Character.reduceCurrentHp(L2Character.java:6810)

at com.l2jserver.gameserver.model.actor.L2Attackable.reduceCurrentHp(L2Attackable.java:477)

at com.l2jserver.gameserver.model.actor.L2Attackable.reduceCurrentHp(L2Attackable.java:413)

at com.l2jserver.gameserver.skills.l2skills.L2SkillDrain.useSkill(L2SkillDrain.java:183)

at com.l2jserver.gameserver.model.actor.L2Character.callSkill(L2Character.java:6560)

at com.l2jserver.gameserver.model.actor.L2Character.onMagicHitTimer(L2Character.java:6159)

at com.l2jserver.gameserver.model.actor.L2Character$MagicUseTask.run(L2Character.java:2552)

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)

25.04.2010 02:42:13 com.mchange.v2.resourcepool.BasicResourcePool prelimCheckoutResource

WARNING: com.mchange.v2.resourcepool.BasicResourcePool@24148662 -- 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 com.l2jserver.L2DatabaseFactory.getConnection(L2DatabaseFactory.java:221)

at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.storeCharBase(L2PcInstance.java:7638)

at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.store(L2PcInstance.java:7609)

at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.store(L2PcInstance.java:7621)

at com.l2jserver.gameserver.network.L2GameClient.saveCharToDisk(L2GameClient.java:311)

at com.l2jserver.gameserver.network.L2GameClient$AutoSaveTask.run(L2GameClient.java:736)

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)

25.04.2010 02:42:22 com.mchange.v2.resourcepool.BasicResourcePool prelimCheckoutResource

WARNING: com.mchange.v2.resourcepool.BasicResourcePool@24148662 -- 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 com.l2jserver.L2DatabaseFactory.getConnection(L2DatabaseFactory.java:221)

at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.storeCharBase(L2PcInstance.java:7638)

at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.store(L2PcInstance.java:7609)

at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.store(L2PcInstance.java:7621)

at com.l2jserver.gameserver.network.L2GameClient.saveCharToDisk(L2GameClient.java:311)

at com.l2jserver.gameserver.network.L2GameClient$AutoSaveTask.run(L2GameClient.java:736)

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)

25.04.2010 02:42:30 com.mchange.v2.resourcepool.BasicResourcePool prelimCheckoutResource

WARNING: com.mchange.v2.resourcepool.BasicResourcePool@24148662 -- 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 com.l2jserver.L2DatabaseFactory.getConnection(L2DatabaseFactory.java:221)

at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.storeCharBase(L2PcInstance.java:7638)

at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.store(L2PcInstance.java:7609)

at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.store(L2PcInstance.java:7621)

at com.l2jserver.gameserver.network.L2GameClient.saveCharToDisk(L2GameClient.java:311)

at com.l2jserver.gameserver.network.L2GameClient$AutoSaveTask.run(L2GameClient.java:736)

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)

25.04.2010 02:42:33 com.mchange.v2.resourcepool.BasicResourcePool prelimCheckoutResource

WARNING: com.mchange.v2.resourcepool.BasicResourcePool@24148662 -- 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 com.l2jserver.L2DatabaseFactory.getConnection(L2DatabaseFactory.java:221)

at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.storeCharBase(L2PcInstance.java:7638)

at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.store(L2PcInstance.java:7609)

at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.store(L2PcInstance.java:7621)

at com.l2jserver.gameserver.network.L2GameClient.saveCharToDisk(L2GameClient.java:311)

at com.l2jserver.gameserver.network.L2GameClient$AutoSaveTask.run(L2GameClient.java:736)

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)

 

i really apreciate some help from mxc ... thx!

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock