Page 1 of 1

What this is DEADLOCK?

Posted: Thu Jun 25, 2015 3:38 pm
by KGB1st

Code: Select all

2015.06.25 21:06:44,484	WARNING	12	com.mchange.v2.async.ThreadPoolAsynchronousRunner	com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@2dbdef4d -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!
2015.06.25 21:08:07,482	WARNING	12	com.mchange.v2.async.ThreadPoolAsynchronousRunner	com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@2dbdef4d -- APPARENT DEADLOCK!!! Complete Status: 
	Managed Threads: 3
	Active Threads: 3
	Active Tasks: 
		com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@591d5c51
			on thread: C3P0PooledConnectionPoolManager[identityToken->uf5xbq9ab3wefw1yhg7j|5ccd43c2]-HelperThread-#0
		com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@1b9817b8
			on thread: C3P0PooledConnectionPoolManager[identityToken->uf5xbq9ab3wefw1yhg7j|5ccd43c2]-HelperThread-#2
		com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@8908bd1
			on thread: C3P0PooledConnectionPoolManager[identityToken->uf5xbq9ab3wefw1yhg7j|5ccd43c2]-HelperThread-#1
	Pending Tasks: 
		com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@682ef5ba
		com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@5b62d33a
		com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@9c3a39
		com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@cdef7f8
		com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@134240fc
		com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@5e74aaad
		com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@3fd81ea8
Pool thread stack traces:
	Thread[C3P0PooledConnectionPoolManager[identityToken->uf5xbq9ab3wefw1yhg7j|5ccd43c2]-HelperThread-#0,5,main]
		com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:722)
	Thread[C3P0PooledConnectionPoolManager[identityToken->uf5xbq9ab3wefw1yhg7j|5ccd43c2]-HelperThread-#1,5,main]
		com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:722)
	Thread[C3P0PooledConnectionPoolManager[identityToken->uf5xbq9ab3wefw1yhg7j|5ccd43c2]-HelperThread-#2,5,main]
		com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:722)
and after when go loggin in console I saw many errors, such as:

Code: Select all

[25/06 21:38:16] L2World: Previous object: Coarse Bone Powder(1881)[268482561] already exist in OID map!
[25/06 21:38:16] java.lang.Thread.getStackTrace(Unknown Source)
com.l2jserver.gameserver.model.L2World.storeObject(L2World.java:113)
com.l2jserver.gameserver.model.itemcontainer.Inventory.restore(Inventory.java:1679)
com.l2jserver.gameserver.model.itemcontainer.PcInventory.restore(PcInventory.java:781)
com.l2jserver.gameserver.model.actor.instance.L2PcInstance.restore(L2PcInstance.java:6955)
com.l2jserver.gameserver.model.actor.instance.L2PcInstance.load(L2PcInstance.java:1089)
com.l2jserver.gameserver.network.L2GameClient.loadCharFromDisk(L2GameClient.java:611)
com.l2jserver.gameserver.network.clientpackets.CharacterSelect.runImpl(CharacterSelect.java:137)
com.l2jserver.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:69)
com.l2jserver.gameserver.network.L2GameClient.run(L2GameClient.java:1134)
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

[25/06 21:38:16] ---------------------- End ---------------------
[25/06 21:38:16] L2World: Current object: Mithril Ore(1876)[268482586] already exist in OID map!
[25/06 21:38:16] java.lang.Thread.getStackTrace(Unknown Source)
com.l2jserver.gameserver.model.L2World.storeObject(L2World.java:105)
com.l2jserver.gameserver.model.itemcontainer.Inventory.restore(Inventory.java:1679)
com.l2jserver.gameserver.model.itemcontainer.PcInventory.restore(PcInventory.java:781)
com.l2jserver.gameserver.model.actor.instance.L2PcInstance.restore(L2PcInstance.java:6955)
com.l2jserver.gameserver.model.actor.instance.L2PcInstance.load(L2PcInstance.java:1089)
com.l2jserver.gameserver.network.L2GameClient.loadCharFromDisk(L2GameClient.java:611)
com.l2jserver.gameserver.network.clientpackets.CharacterSelect.runImpl(CharacterSelect.java:137)
com.l2jserver.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:69)
com.l2jserver.gameserver.network.L2GameClient.run(L2GameClient.java:1134)
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

Re: What this is DEADLOCK?

Posted: Sun Oct 18, 2015 8:09 pm
by Zoey76
Please update to last version and use HikariCP as connection pool.