These last months the machine where my 3rd server is hosted began to get disconnected from the network. Yeah, it had to be restarted from hard and then I found tons of SQL connection errors on the logs, which log hours were while the machine was "crashed". So what I guess from here is that the machine works, and only gets disconnected from the network.
Then I tried with another machine which I was using for my 1rst server (same population, more or less) and the same happened there, and it didn't happen before while hosting the 1st server!
The most amazing thing is that they use the same .jar file, only configs and some data are different.
What do you think that it could be? I'm really thinking about to close this "cursed" server, lol
Thank you
Machine DCs [Support/Discussion]
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- Pere
- Posts: 400
- Joined: Sat Jan 05, 2008 11:09 am
- Location: Catalunya, Berguedà
Machine DCs [Support/Discussion]
Bones tardes amics meus tots!
-
- Posts: 286
- Joined: Fri Sep 22, 2006 1:03 am
- Location: Red Rock, Mars
Re: Machine DCs [Support/Discussion]
Have you check the memory and thread settings in the game server batch file, is it the same MySQL config settings, and what is the error in the log file?
- Pere
- Posts: 400
- Joined: Sat Jan 05, 2008 11:09 am
- Location: Catalunya, Berguedà
Re: Machine DCs [Support/Discussion]
Everything exactly the same except rates and such those things, and the errors look like:
Can a java program kill the whole server's ping????
Code: Select all
INFO: An exception occurred while acquiring a poolable resource. Will retry.com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. at sun.reflect.GeneratedConstructorAccessor100.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.mysql.jdbc.Util.handleNewInstance(Util.java:406) at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074) at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2214) at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:781) at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46) at sun.reflect.GeneratedConstructorAccessor85.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.mysql.jdbc.Util.handleNewInstance(Util.java:406) at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:352) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:284) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137) at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014) at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. at sun.reflect.GeneratedConstructorAccessor100.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.mysql.jdbc.Util.handleNewInstance(Util.java:406) at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074) at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:343) at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2137) ... 16 moreCaused by: java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.<init>(Unknown Source) at java.net.Socket.<init>(Unknown Source) at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253) at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292) ... 17 more
Bones tardes amics meus tots!
-
- L2j Veteran
- Posts: 3437
- Joined: Wed Apr 30, 2008 8:53 am
- Location: Russia
Re: Machine DCs [Support/Discussion]
Copy entire "working" server on this machine for tests.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
public static final int PI = 3.1415926535897932384626433832795;
- Pere
- Posts: 400
- Joined: Sat Jan 05, 2008 11:09 am
- Location: Catalunya, Berguedà
Re: Machine DCs [Support/Discussion]
I was asking only info about if you knew about the possibility of java.exe to kill a network driver (which is fixed on machine restart) u.U
Bones tardes amics meus tots!
- rocoder
- Posts: 66
- Joined: Thu Feb 04, 2010 8:52 am
Re: Machine DCs [Support/Discussion]
I think you have diff mysql config... try with this
Code: Select all
max_connections=400table_cache=4000
- Pere
- Posts: 400
- Joined: Sat Jan 05, 2008 11:09 am
- Location: Catalunya, Berguedà
Re: Machine DCs [Support/Discussion]
It didn't happen again moving the "cursed" server on a better machine (12GB DDR3 o.O)
Thank you so much anyways!!!
Thank you so much anyways!!!
Bones tardes amics meus tots!
- DrHouse
- L2j Inner Circle
- Posts: 912
- Joined: Mon Jan 22, 2007 12:14 am
- Location: Spain
Re: Machine DCs [Support/Discussion]
Anyone with the same might find this interesting:
http://forums.mysql.com/read.php?39,199 ... msg-204628
http://community.jboss.org/wiki/ConfigDataSources
http://forums.mysql.com/read.php?39,199 ... msg-204628
http://community.jboss.org/wiki/ConfigDataSources

Leadership and management are not talk and talk, but talk and do
Proud of being a part of this project