Page 1 of 1

L2DatabaseFactory Unclosed Connection?

Posted: Sun May 09, 2010 1:31 pm
by momo61
L2J Revision 4153:
L2JDP Revision 7354:

no custom codes!!!

Code: Select all

2010.05.09 15:29:08,093	INFO	10	com.l2jserver.gameserver.idfactory.IdFactory	Updated characters online status.2010.05.09 15:29:48,109	WARNING	11	com.l2jserver.L2DatabaseFactory	Unclosed connection! Trace: com.l2jserver.gameserver.idfactory.IdFactory.cleanUpDB(IdFactory.java:170)2010.05.09 15:29:50,500	INFO	10	com.l2jserver.gameserver.idfactory.IdFactory	Cleaned 0 elements from database.

Re: L2DatabaseFactory Unclosed Connection?

Posted: Sun May 09, 2010 2:08 pm
by Probe
imo the timecheck for ConnectionCloser is too short
some queries aren't finished within

Code: Select all

ThreadPoolManager.getInstance().scheduleGeneral(new ConnectionCloser(con, new RuntimeException()), 40000);
this time limit, especially cleanup\refractor queries

Re: L2DatabaseFactory Unclosed Connection?

Posted: Sun May 09, 2010 3:48 pm
by janiii
was already increased to 60 seconds. anyway no need to create another topic about this.