Рейтинг темы:
  • 0 Голос(ов) - 0 в среднем
  • 1
  • 2
  • 3
  • 4
  • 5
Что за ошибка?
#1
Работал l2p сервер ни кого не трогал, а потом бац ошибка, сам рестартнулся и всё равно таже ошибка. На серв не пускает, нету в списке серверов ничего.
Помог только ручной перезапуск серверов.. Что за ошибка такая?
Цитата:12:47:15.671 Multiply prepared statement! SELECT COUNT(*) FROM community_skills
ave WHERE charId=?;
12:47:15.872 Multiply prepared statement! SELECT COUNT(*) FROM community_skills
ave WHERE charId=?;
12:47:16.074 Multiply prepared statement! SELECT COUNT(*) FROM community_skills
ave WHERE charId=?;
12:47:16.842 Multiply prepared statement! SELECT COUNT(*) FROM community_skills
ave WHERE charId=?;
12:47:17.046 Multiply prepared statement! SELECT COUNT(*) FROM community_skills
ave WHERE charId=?;
12:47:17.242 Multiply prepared statement! SELECT COUNT(*) FROM community_skills
ave WHERE charId=?;
12:47:17.449 Multiply prepared statement! SELECT COUNT(*) FROM community_skills
ave WHERE charId=?;
12:50:32.382 FourSepulchersManager: Entry time: Tue Feb 08 12:55:32 MSK 2011
12:59:56.548 Recommendation Global Task: launched.
12:59:56.548 Recommendation Global Task: completed.
Exception in thread "Pathfind Pool-14039" java.lang.OutOfMemoryError: Java heap
space
at l2p.gameserver.geodata.GeoMove.constructMoveList(GeoMove.java:115)
at l2p.gameserver.model.L2Character.setSimplePath(L2Character.java:2134)

at l2p.gameserver.model.L2Character.buildPathTo(L2Character.java:2194)
at l2p.gameserver.model.L2Character.moveToLocation(L2Character.java:2321
)
at l2p.gameserver.model.L2Character.moveToLocation(L2Character.java:2283
)
at l2p.gameserver.clientpackets.MoveBackwardToLocation$StartMoveTask.run
(MoveBackwardToLocation.java:158)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
13:45:30.338 An exception occurred while acquiring a poolable resource. Will re
try.
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link fai
lure

The last packet successfully received from the server was 52 milliseconds ago.
The last packet sent successfully to the server was 52 milliseconds ago.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1
118)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3055)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2941)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3489)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:919)
at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4004)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1284)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2
312)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2122)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:774)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:49)
at sun.reflect.GeneratedConstructorAccessor155.newInstance(Unknown Sourc
e)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:375)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java
:289)
at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManag
erDataSource.java:134)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnecti
on(WrapperConnectionPoolDataSource.java:182)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnecti
on(WrapperConnectionPoolDataSource.java:171)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionRe
sourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResource
Pool.java:1014)
at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourc
ePool.java:32)
at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicRe
sourcePool.java:1810)
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(Thre
adPoolAsynchronousRunner.java:547)
Caused by: java.net.SocketException: Software caused connection abort: recv fail
ed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at com.mysql.jdbc.util.ReadAheadInputStream.fill(ReadAheadInputStream.ja
va:114)
at com.mysql.jdbc.util.ReadAheadInputStream.readFromUnderlyingStreamIfNe
cessary(ReadAheadInputStream.java:161)
at com.mysql.jdbc.util.ReadAheadInputStream.read(ReadAheadInputStream.ja
va:189)
at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2499)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2952)
... 23 more

13:45:34.713 GameServer: Connecting to LoginServer on 127.0.0.1:9014
13:45:37.484 Registered on login as Server 1 : Bartz
13:46:28.841 GameServer: Connecting to LoginServer on 127.0.0.1:9014
13:57:54.225 com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector
@218a8a83 -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pend
ing tasks!
Too long regen task: 398974 ms
Exception in thread "Thread-61" java.lang.OutOfMemoryError: Java heap space
at sun.misc.Cleaner.create(Unknown Source)
at java.nio.DirectByteBuffer.<init>(Unknown Source)
at java.nio.ByteBuffer.allocateDirect(Unknown Source)
at sun.nio.ch.Util.getTemporaryDirectBuffer(Unknown Source)
at sun.nio.ch.IOUtil.write(Unknown Source)
at sun.nio.ch.SocketChannelImpl.write(Unknown Source)
at sun.nio.ch.PipeImpl$Initializer.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.nio.ch.PipeImpl.<init>(Unknown Source)
at sun.nio.ch.SelectorProviderImpl.openPipe(Unknown Source)
at java.nio.channels.Pipe.open(Unknown Source)
at sun.nio.ch.WindowsSelectorImpl.<init>(Unknown Source)
at sun.nio.ch.WindowsSelectorProvider.openSelector(Unknown Source)
at java.nio.channels.Selector.open(Unknown Source)
at l2p.gameserver.loginservercon.LSConnection.reconnect(LSConnection.jav
a:73)
at l2p.gameserver.loginservercon.LSConnection.run(LSConnection.java:169)

Exception in thread "Pathfind Pool-14047" 14:01:40.784 An exception occurred wh
ile acquiring a poolable resource. Will retry.
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link fai
lure

The last packet successfully received from the server was 1 milliseconds ago. T
he last packet sent successfully to the server was 0 milliseconds ago.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1
118)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3055)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2941)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3489)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:919)
at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4004)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1284)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2
312)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2122)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:774)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:49)
at sun.reflect.GeneratedConstructorAccessor155.newInstance(Unknown Sourc
e)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:375)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java
:289)
at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManag
erDataSource.java:134)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnecti
on(WrapperConnectionPoolDataSource.java:182)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnecti
on(WrapperConnectionPoolDataSource.java:171)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionRe
sourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResource
Pool.java:1014)
at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourc
ePool.java:32)
at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicRe
sourcePool.java:1810)
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(Thre
adPoolAsynchronousRunner.java:547)
Caused by: java.net.SocketException: Software caused connection abort: recv fail
ed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at com.mysql.jdbc.util.ReadAheadInputStream.fill(ReadAheadInputStream.ja
va:114)
at com.mysql.jdbc.util.ReadAheadInputStream.readFromUnderlyingStreamIfNe
cessary(ReadAheadInputStream.java:161)
at com.mysql.jdbc.util.ReadAheadInputStream.read(ReadAheadInputStream.ja
va:189)
at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2499)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2952)
... 23 more

Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThrea
d-#0" java.lang.OutOfMemoryError: Java heap space
at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:765)
at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:416)
at com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate(MysqlIO.java:2581)

at com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java:1757)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2171)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2562)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2512)
at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1476)
at com.mysql.jdbc.DatabaseMetaData$9.forEach(DatabaseMetaData.java:4905)

at com.mysql.jdbc.IterateBlock.doForAll(IterateBlock.java:53)
at com.mysql.jdbc.DatabaseMetaData.getTables(DatabaseMetaData.java:4883)

at com.mchange.v2.c3p0.impl.DefaultConnectionTester.activeCheckConnectio
nNoQuery(DefaultConnectionTester.java:185)
at com.mchange.v2.c3p0.impl.DefaultConnectionTester.activeCheckConnectio
n(DefaultConnectionTester.java:62)
at com.mchange.v2.c3p0.AbstractConnectionTester.activeCheckConnection(Ab
stractConnectionTester.java:67)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionRe
sourcePoolManager.testPooledConnection(C3P0PooledConnectionPool.java:368)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionRe
sourcePoolManager.refurbishIdleResource(C3P0PooledConnectionPool.java:310)
at com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTa
sk.run(BasicResourcePool.java:1999)
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(Thre
adPoolAsynchronousRunner.java:547)
14:06:49.910 FourSepulchersManager: Entry time: Tue Feb 08 14:55:49 MSK 2011
java.lang.OutOfMemoryError: Java heap space
14:06:49.898 com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector
@218a8a83 -- APPARENT DEADLOCK!!! Complete Status:
Managed Threads: 5
Active Threads: 5
Active Tasks:
com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResou
rceTask@18a435dd (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#
3)
com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResou
rceTask@44cc4cce (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#
0)
com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTa
sk@40c68bab (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#4)
com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResou
rceTask@2afba8c6 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#
1)
com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResou
rceTask@70057535 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#
2)
Pending Tasks:
com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTa
sk@76522407
com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTa
sk@abb8441
com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTa
sk@1ce7cce8
com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTa
sk@363da22b
com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinR
esourceTask@861d0df
Pool thread stack traces:
Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#3,5
,main]
com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResou
rceTask.run(BasicResourcePool.java:2023)
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run
(ThreadPoolAsynchronousRunner.java:547)
Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0,5
,main]
com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResou
rceTask.run(BasicResourcePool.java:2023)
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run
(ThreadPoolAsynchronousRunner.java:547)
Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#4,5
,main]
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run
(ThreadPoolAsynchronousRunner.java:560)
Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1,5
,main]
com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResou
rceTask.run(BasicResourcePool.java:2023)
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run
(ThreadPoolAsynchronousRunner.java:547)
Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2,5
,main]
com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResou
rceTask.run(BasicResourcePool.java:2023)
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run
(ThreadPoolAsynchronousRunner.java:547)


Exception in thread "InterestManagerPool-9" java.lang.OutOfMemoryError: Java hea
p space
Exception in thread "InterestManagerPool-5" java.lang.OutOfMemoryError: Java hea
p space
Exception in thread "Pathfind Pool-14046" java.lang.OutOfMemoryError: Java heap
space
java.lang.OutOfMemoryError: Java heap space
14:10:03.623 com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector
@218a8a83 -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pend
ing tasks!
Exception in thread "Timer-0" java.lang.OutOfMemoryError: Java heap space
Exception in thread "Pathfind Pool-14044" java.lang.OutOfMemoryError: Java heap
space
Ответ
#2
Памяти под сервер сколько выделено? Какая OS?
Ответ
#3
Ro0TT Написал:Памяти под сервер сколько выделено? Какая OS?
java -server -Dfile.encoding=UTF-8 -Xms1536m -Xmx1536m -cp bsf.jar;
Win7.
Так всегда вроде нормально было.
Ответ
#4
Обычная утечка.. ява забрала всю доступную оперативную память. Автоматический ребут не помог, т.к. приложение явы в этот момент не закрывается.
open-team.ru
Ответ
#5
Drizzy Написал:Обычная утечка.. ява забрала всю доступную оперативную память. Автоматический ребут не помог, т.к. приложение явы в этот момент не закрывается.
Как бороться? Больше памяти выделять? У меня просто всего 4гб.
Ответ
#6
serg5777 Написал:Как бороться? Больше памяти выделять? У меня просто всего 4гб.
1. Ищем из-за чего возникает утечка.
2. Берём исходники и устраняем эту дырку.
Если выделить больше памяти - не поможет. Он всё равно её всю скушает и опять появится данная ошибка Wink
open-team.ru
Ответ
#7
Drizzy Написал:1. Ищем из-за чего возникает утечка.
2. Берём исходники и устраняем эту дырку.
Если выделить больше памяти - не поможет. Он всё равно её всю скушает и опять появится данная ошибка Wink
Блин в компилировании ядра не силен, разбираюсь тока в датапаке.
Значит всё, конец Sad
До этого стояла финалка опеновская 3 месяца и без проблем как здесь...
Ответ
#8
У феникса, который попал в шару присутствовала утечка. Из шарных сборок вроде только на шайтановской поправлено. Вообще если гигов 8 памяти выделить - без рестарта по дольше постоит =).
Ответ
#9
Ну дык вроде 5 дней уже как стояла и не было подобной ошибки.
Вот седня первый раз вылезла Sad
Серв небольшой для локалки, человек на 20-30.
Не для заработка, а так для души и от нечего делать. И вот такой неприятный осадок от этого феникса..

Добавлено через 6 минут
Извиняюсь, а за спасибку никто не сможет глянуть в чем там беда?

Добавлено через 7 часов 43 минуты
Ага, куча помощников сразу налетела)
Ответ
#10
Открыть спойлер
Ответ


Возможно похожие темы ...
Тема Автор Ответы Просмотры Последний пост
  Ошибка Cannot read field "race" valdemart123 0 1,069 12-04-2021, 04:44 AM
Последний пост: valdemart123
  При запуске game server на сайте (sw13) ошибка mysql 0 AndreDeiu 1 1,351 09-27-2020, 11:32 PM
Последний пост: Lord_Gothic
  Ошибка геймсервера zane 9 2,579 04-27-2018, 12:28 PM
Последний пост: DmnC
  Ошибка загрузки гейм сервера zane 5 2,045 04-17-2018, 08:03 PM
Последний пост: zane
  Ошибка телепорта Rork 1 1,279 03-02-2018, 03:05 PM
Последний пост: Gaikotsu
  Ошибка с ГМ шопом silok 1 1,322 01-11-2018, 07:36 AM
Последний пост: Narsell
  Ошибка PWSOFT Ananim 0 1,380 07-07-2017, 11:42 AM
Последний пост: Ananim
  Ошибка _aveList; knaif 1 1,412 06-22-2017, 03:07 PM
Последний пост: Trimius
  Ошибка KastaMeN 1 1,826 06-16-2017, 11:32 PM
Последний пост: Mangol
  Ошибка при Компли GoD-LJTS knaif 3 1,847 05-17-2017, 04:02 PM
Последний пост: knaif

Перейти к форуму:


Пользователи, просматривающие эту тему: 2 Гость(ей)