0% loss from server ISP
I have enough memmory.
No errors in logs.
No warnings in java logs.
Only accounting.log is full with kicked by login and disconnected abnormaly , mass kicks/disconnects apear in interval 1-15 seconds and after that all is normal. (there is single disconnects but i exclude them). I used IP locator IP's disconnected are worldwide so i exclude client ISP loss.
If that helps Baium riding party gets enourmous lag and disconnect at some time ( but mass disconnects appeared in other time also). I was there watching w/o hiting and all was normal for me.
Now after analizing and reading a lot i'm forwarding several possible reasons for that.
If you have any idea to specify the problem can helps me a lot to solve it. My toughts are pointing to packets problem but nothing in logs and that dont help me at all.
Could it be a .sh bad configuration?
Some stack overflow or garbage collector issue.
GS start file
LS start file :#!/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 -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -Xmn1024m -Xms2048m -Xmx4096m -Xss128k -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=31 -XX:+AggressiveOpts -cp ./../libs/*:l2jserver.jar com.REMOVED.REMOVEDcom.l2jserver.gameserver.GameServer > log/stdout.log 2>&1
[ $? -ne 2 ] && break
# /etc/init.d/mysql restart
sleep 10
done
Thread Configuration in general.properties is default#!/bin/bash
err=1
until [ $err == 0 ];
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 -Xms128m -Xmx128m -cp ./../libs/*:l2jlogin.jar com.l2jserver.loginserver.L2LoginServer > log/stdout.log 2>&1
err=$?
# /etc/init.d/mysql restart
sleep 10;
done
Max connections to Db are 10 for loginserver and 200 for gs.
Players online are about 120.