IDFactory - Unclosed connection!

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
Lineage
Posts: 63
Joined: Thu Jan 31, 2008 7:39 am

IDFactory - Unclosed connection!

Post by Lineage »

If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision Number: 4394
L2JDP Revision Number: 7642

Im getting the following message on console:

Code: Select all

Unclosed connection! Trace: com.l2jserver.gameserver.idfactory.IdFactory.cleanUpDB(IdFactory.java:171)java.lang.RuntimeException        at com.l2jserver.L2DatabaseFactory.getConnection(L2DatabaseFactory.java:223)        at com.l2jserver.gameserver.idfactory.IdFactory.cleanUpDB(IdFactory.java:171)        at com.l2jserver.gameserver.idfactory.IdFactory.<init>(IdFactory.java:113)        at com.l2jserver.gameserver.idfactory.BitSetIDFactory.<init>(BitSetIDFactory.java:65)        at com.l2jserver.gameserver.idfactory.IdFactory.<clinit>(IdFactory.java:125)        at com.l2jserver.gameserver.GameServer.<init>(GameServer.java:185)        at com.l2jserver.gameserver.GameServer.main(GameServer.java:492)
Please note that no custom changes has been done to it.
babyjason
Posts: 575
Joined: Wed Dec 02, 2009 7:59 pm

Re: IDFactory - Unclosed connection!

Post by babyjason »

search forum, it s no problem.
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: IDFactory - Unclosed connection!

Post by Zoey76 »

You can ignore it, it's related to database cleanup, which takes longer time and can't be cleaned, because amount of data or your SQL server doesn't have enough resources to run it.

You could try increasing connection close time, I let you here the code to change it from 1 minute to 2:
http://pastebin.com/N9GuAd1G

Tries, time and experience will tell how much you need to get it work properly.

Also wouldn't be a bad idea check for PHP scripts that connect to database and java/jython custom scripts.
Powered by Eclipse 4.34 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
Post Reply