Page 1 of 1

L2DatabaseFactory - ConnectionCloser

Posted: Sat Jun 27, 2015 10:31 am
by KGB1st
Stable 1.1

Code: Select all

θών 27, 2015 4:01:41 PM com.l2jserver.L2DatabaseFactory$ConnectionCloser run
WARNING: Unclosed connection! Trace: com.l2jserver.gameserver.instancemanager.GrandBossManager.storeMe(GrandBossManager.java:304)
java.lang.RuntimeException
	at com.l2jserver.L2DatabaseFactory.getConnection(L2DatabaseFactory.java:180)
	at com.l2jserver.gameserver.instancemanager.GrandBossManager.storeMe(GrandBossManager.java:304)
	at com.l2jserver.gameserver.instancemanager.tasks.GrandBossManagerStoreTask.run(GrandBossManagerStoreTask.java:31)
	at com.l2jserver.gameserver.ThreadPoolManager$RunnableWrapper.run(ThreadPoolManager.java:88)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask.runAndReset(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.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

θών 27, 2015 4:06:18 PM com.l2jserver.L2DatabaseFactory$ConnectionCloser run
WARNING: Unclosed connection! Trace: com.l2jserver.gameserver.instancemanager.GrandBossManager.storeMe(GrandBossManager.java:304)
java.lang.RuntimeException
	at com.l2jserver.L2DatabaseFactory.getConnection(L2DatabaseFactory.java:180)
	at com.l2jserver.gameserver.instancemanager.GrandBossManager.storeMe(GrandBossManager.java:304)
	at com.l2jserver.gameserver.instancemanager.tasks.GrandBossManagerStoreTask.run(GrandBossManagerStoreTask.java:31)
	at com.l2jserver.gameserver.ThreadPoolManager$RunnableWrapper.run(ThreadPoolManager.java:88)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask.runAndReset(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.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

After this error hard disc of the server was subjected to the high load.

Re: L2DatabaseFactory - ConnectionCloser

Posted: Sat Jun 27, 2015 11:48 am
by Aikimaniac
There is no stable 1.1...do you mean Master or something else?

Re: L2DatabaseFactory - ConnectionCloser

Posted: Sat Jun 27, 2015 11:56 am
by KGB1st
Aikimaniac wrote:There is no stable 1.1...do you mean Master or something else?
wtf.png
Merge: refs/heads/stable

Re: L2DatabaseFactory - ConnectionCloser

Posted: Sat Jun 27, 2015 11:12 pm
by Zoey76
Stable and master are the same, except few commits.

You have bad MySQL settings or some custom script with unclosed database connections.

Re: L2DatabaseFactory - ConnectionCloser

Posted: Sun Jun 28, 2015 7:25 am
by KGB1st
Zoey76 wrote:Stable and master are the same, except few commits.

You have bad MySQL settings or some custom script with unclosed database connections.
hmmm. i don't know. I used only Yan Buffer script.

Re: L2DatabaseFactory - ConnectionCloser

Posted: Sun Jun 28, 2015 8:05 am
by Zoey76
Did you change MySQL settings?

Re: L2DatabaseFactory - ConnectionCloser

Posted: Sun Jun 28, 2015 8:24 am
by KGB1st
Zoey76 wrote:Did you change MySQL settings?
I use not standard mysql engine. It's vertrigoserv.

Re: L2DatabaseFactory - ConnectionCloser

Posted: Sun Jun 28, 2015 8:37 am
by Zoey76
Do you have HDD problems or other process slowing down your server?

Re: L2DatabaseFactory - ConnectionCloser

Posted: Sun Jun 28, 2015 5:00 pm
by KGB1st
Zoey76 wrote:Do you have HDD problems or other process slowing down your server?
nope.. java.exe uses individual 2 cores (4.0 GHZ each) in system, hdd is new, and works correctly.
KGB1st wrote:Stable 1.1
After this error hard disc of the server was subjected to the high load.
pagefile, swapfile was included at the time and maybe It was a problem... (6.5G commited)

Code: Select all

-Xms1536m -Xmx3072m -XX:+AggressiveOpts