[GS Error] 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
Locked
valtin
Posts: 2
Joined: Sun Jun 14, 2009 9:42 am

[GS Error] Unclosed connection!

Post by valtin »

Hello everybody,
I have some questions, I'm not sure if it is a problem but I will ask, because my mother taught me to not be afraid to ask :P .
L2J Revision Number: 4175
L2JDP Revision Number: 7405

My gs give this error in log :

Code: Select all

Unclosed connection! Trace: sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)java.lang.RuntimeException        at com.l2jserver.L2DatabaseFactory.getConnection(L2DatabaseFactory.java:223)        at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)        at java.lang.reflect.Method.invoke(Method.java:616)        at org.python.core.PyReflectedFunction.__call__(Unknown Source)        at org.python.core.PyMethod.__call__(Unknown Source)        at org.python.core.PyObject.__call__(Unknown Source)        at org.python.core.PyInstance.invoke(Unknown Source)        at org.python.pycode.serializable._pyx1273830468975.onAdvEvent$10(__init__.py:1066)        at org.python.pycode.serializable._pyx1273830468975.call_function(__init__.py)        at org.python.core.PyTableCode.call(Unknown Source)        at org.python.core.PyTableCode.call(Unknown Source)        at org.python.core.PyTableCode.call(Unknown Source)        at org.python.core.PyFunction.__call__(Unknown Source)        at org.python.core.PyMethod.__call__(Unknown Source)        at org.python.core.PyObject.__call__(Unknown Source)        at org.python.core.PyObject._jcallexc(Unknown Source)        at org.python.core.PyObject._jcall(Unknown Source)        at org.python.proxies.main$Quest$422.onAdvEvent(Unknown Source)        at com.l2jserver.gameserver.model.quest.Quest.notifyEvent(Quest.java:406)        at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.processQuestEvent(L2PcInstance.java:1725)        at com.l2jserver.gameserver.network.clientpackets.RequestBypassToServer.runImpl(RequestBypassToServer.java:218)        at com.l2jserver.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:92)        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)        at java.lang.Thread.run(Thread.java:636) 
Second question,

Code: Select all

To many connections. 
Or something like that.

I set,
max_connect_errors= 100
max_connections= 3000
In gs config is 1000 dbconnections and login config 100 .
At 80-100 ppl on server , my server blocks .

I appreciate your help
Kind Regards,
Olaru Valentin
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: [GS Error] Unclosed connection!

Post by janiii »

you could have just search on forum and find what the error is about. ;)

check your custom python scripts that connect to database and check that the database connection is closed properly.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
valtin
Posts: 2
Joined: Sun Jun 14, 2009 9:42 am

Re: [GS Error] Unclosed connection!

Post by valtin »

Thank you verry much, now is up to me to solve this problem. Many thanks again.
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: [GS Error] Unclosed connection!

Post by janiii »

if you have problems solving the problem, you can post your custom code here and we can help you. but maybe you understand the problem and can fix it by yourself. gl :)
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
Vinius
Posts: 61
Joined: Fri Jun 29, 2007 7:10 am

Re: [GS Error] Unclosed connection!

Post by Vinius »

Then you might help me with this. Got same error, the mentioned script is custom NPC buffer in python.
You do not have the required permissions to view the files attached to this post.
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: [GS Error] Unclosed connection!

Post by janiii »

check the forum. that buffer script has been already fixed. i will not go through it again and again, sorry.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
Locked