07-27-2015, 02:51 PM
Здравствуйте!
Есть проблема, в GS высыпает ошибки:
Сорс: Silentium.
java: build 1.8.0_25-b17
loop (это не аутофмемори, но всё же):
Подскажите пожалуйста, как исправить?
Есть проблема, в GS высыпает ошибки:
Код:
Exception in thread "AISTPool-8" java.lang.StackOverflowError
at l2s.gameserver.model.actor.L2Character.moveToLocation(L2Character.java:3098)
at l2s.gameserver.model.actor.L2Character$AIAccessor.moveTo(L2Character.java:5528)
at l2s.gameserver.ai.AbstractAI.moveTo(AbstractAI.java:576)
at l2s.gameserver.ai.AbstractAI.moveToPawn(AbstractAI.java:530)
at l2s.gameserver.ai.L2CharacterAI.maybeMoveToPawn(L2CharacterAI.java:918)
at l2s.gameserver.ai.L2PlayerAI.thinkCast(L2PlayerAI.java:247)
at l2s.gameserver.ai.L2PlayerAI.onEvtThink(L2PlayerAI.java:344)
at l2s.gameserver.ai.L2CharacterAI.onEvtArrived(L2CharacterAI.java:663)
at l2s.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:396)
at l2s.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:314)
at l2s.gameserver.model.actor.L2Character.moveToLocation(L2Character.java:3166)
at l2s.gameserver.model.actor.L2Character$AIAccessor.moveTo(L2Character.java:5528)
at l2s.gameserver.ai.AbstractAI.moveTo(AbstractAI.java:576)
at l2s.gameserver.ai.AbstractAI.moveToPawn(AbstractAI.java:530)
at l2s.gameserver.ai.L2CharacterAI.maybeMoveToPawn(L2CharacterAI.java:918)
at l2s.gameserver.ai.L2PlayerAI.thinkCast(L2PlayerAI.java:247)
at l2s.gameserver.ai.L2PlayerAI.onEvtThink(L2PlayerAI.java:344)
at l2s.gameserver.ai.L2CharacterAI.onEvtArrived(L2CharacterAI.java:663)
at l2s.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:396)
Exception in thread "General Pool-5" java.lang.StackOverflowError
at l2s.gameserver.model.actor.L2Character.moveToLocation(L2Character.java:3098)
at l2s.gameserver.model.actor.L2Character$AIAccessor.moveTo(L2Character.java:5528)
at l2s.gameserver.ai.AbstractAI.moveTo(AbstractAI.java:576)
at l2s.gameserver.ai.AbstractAI.moveToPawn(AbstractAI.java:530)
at l2s.gameserver.ai.L2CharacterAI.maybeMoveToPawn(L2CharacterAI.java:918)
at l2s.gameserver.ai.L2PlayerAI.thinkCast(L2PlayerAI.java:247)
at l2s.gameserver.ai.L2PlayerAI.onEvtThink(L2PlayerAI.java:344)
at l2s.gameserver.ai.L2CharacterAI.onEvtArrived(L2CharacterAI.java:663)
at l2s.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:396)
at l2s.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:314)
at l2s.gameserver.model.actor.L2Character.moveToLocation(L2Character.java:3166)
at l2s.gameserver.model.actor.L2Character$AIAccessor.moveTo(L2Character.java:5528)
at l2s.gameserver.ai.AbstractAI.moveTo(AbstractAI.java:576)
at l2s.gameserver.ai.AbstractAI.moveToPawn(AbstractAI.java:530)
at l2s.gameserver.ai.L2CharacterAI.maybeMoveToPawn(L2CharacterAI.java:918)
at l2s.gameserver.ai.L2PlayerAI.thinkCast(L2PlayerAI.java:247)
at l2s.gameserver.ai.L2PlayerAI.onEvtThink(L2PlayerAI.java:344)
at l2s.gameserver.ai.L2CharacterAI.onEvtArrived(L2CharacterAI.java:663)
at l2s.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:396)
at l2s.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:314)
Exception in thread "AISTPool-3" java.lang.StackOverflowError
at l2s.gameserver.model.L2Object.getX(L2Object.java:181)
at l2s.gameserver.ai.AbstractAI.moveToPawn(AbstractAI.java:530)
at l2s.gameserver.ai.L2CharacterAI.maybeMoveToPawn(L2CharacterAI.java:918)
at l2s.gameserver.ai.L2PlayerAI.thinkCast(L2PlayerAI.java:247)
at l2s.gameserver.ai.L2PlayerAI.onEvtThink(L2PlayerAI.java:344)
at l2s.gameserver.ai.L2CharacterAI.onEvtArrived(L2CharacterAI.java:663)
at l2s.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:396)
at l2s.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:314)
at l2s.gameserver.model.actor.L2Character.moveToLocation(L2Character.java:3166)
at l2s.gameserver.model.actor.L2Character$AIAccessor.moveTo(L2Character.java:5528)
at l2s.gameserver.ai.AbstractAI.moveTo(AbstractAI.java:576)
at l2s.gameserver.ai.AbstractAI.moveToPawn(AbstractAI.java:530)
at l2s.gameserver.ai.L2CharacterAI.maybeMoveToPawn(L2CharacterAI.java:918)
at l2s.gameserver.ai.L2PlayerAI.thinkCast(L2PlayerAI.java:247)
at l2s.gameserver.ai.L2PlayerAI.onEvtThink(L2PlayerAI.java:344)
at l2s.gameserver.ai.L2CharacterAI.onEvtArrived(L2CharacterAI.java:663)
at l2s.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:396)
at l2s.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:314)
Exception in thread "AISTPool-7" java.lang.StackOverflowError
at l2s.gameserver.model.L2Object.getX(L2Object.java:181)
at l2s.gameserver.ai.AbstractAI.moveToPawn(AbstractAI.java:530)
at l2s.gameserver.ai.L2CharacterAI.maybeMoveToPawn(L2CharacterAI.java:918)
at l2s.gameserver.ai.L2PlayerAI.thinkCast(L2PlayerAI.java:247)
at l2s.gameserver.ai.L2PlayerAI.onEvtThink(L2PlayerAI.java:344)
at l2s.gameserver.ai.L2CharacterAI.onEvtArrived(L2CharacterAI.java:663)
at l2s.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:396)
at l2s.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:314)
at l2s.gameserver.model.actor.L2Character.moveToLocation(L2Character.java:3166)
at l2s.gameserver.model.actor.L2Character$AIAccessor.moveTo(L2Character.java:5528)
at l2s.gameserver.ai.AbstractAI.moveTo(AbstractAI.java:576)
at l2s.gameserver.ai.AbstractAI.moveToPawn(AbstractAI.java:530)
at l2s.gameserver.ai.L2CharacterAI.maybeMoveToPawn(L2CharacterAI.java:918)
at l2s.gameserver.ai.L2PlayerAI.thinkCast(L2PlayerAI.java:247)
at l2s.gameserver.ai.L2PlayerAI.onEvtThink(L2PlayerAI.java:344)
at l2s.gameserver.ai.L2CharacterAI.onEvtArrived(L2CharacterAI.java:663)
at l2s.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:396)
at l2s.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:314)
Exception in thread "AISTPool-2" java.lang.StackOverflowError
at l2s.gameserver.model.zone.L2ZoneType.revalidateInZone(L2ZoneType.java:145)
at l2s.gameserver.model.L2WorldRegion.revalidateZones(L2WorldRegion.java:89)
at l2s.gameserver.model.actor.instance.L2PcInstance.revalidateZone(L2PcInstance.java:1636)
at l2s.gameserver.ai.L2CharacterAI.onEvtArrived(L2CharacterAI.java:642)
at l2s.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:396)
at l2s.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:314)
at l2s.gameserver.model.actor.L2Character.moveToLocation(L2Character.java:3166)
Exception in thread "EffectsSTPool-4" java.lang.NullPointerException
at l2s.gameserver.model.quest.Quest.showError(Quest.java:761)
at l2s.gameserver.model.quest.Quest.notifyKill(Quest.java:1155)
at l2s.gameserver.model.actor.L2Attackable$OnKillNotifyTask.run(L2Attackable.java:570)
at l2s.gameserver.ThreadPoolManager$RunnableWrapper.run(ThreadPoolManager.java:87)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Сорс: Silentium.
java: build 1.8.0_25-b17
loop (это не аутофмемори, но всё же):
Код:
#!/bin/bash
# exit codes of GameServer:
# 0 normal shutdown
# 2 reboot attempt
while :; do
[ -f log/java0.log.0 ] && mv log/java0.log.0 "log/`date +%Y-%m-%d_%H-%M-%S`_java.log"
[ -f log/stdout.log ] && mv log/stdout.log "log/`date +%Y-%m-%d_%H-%M-%S`_stdout.log"
java -Dfile.encoding=UTF-8 -Xmx6g -Dlogback.configurationFile=./config/logback.xml -cp ./libs/*: l2s.gameserver.GameServer > log/stdout.log 2>&1
[ $? -ne 2 ] && break
# /etc/init.d/mysql restart
sleep 10
done
Подскажите пожалуйста, как исправить?