Hello everyone!
My server have been started to "crashing" every 10-12 hours.
The symptom is serious lag, nobody cant really chat with each other (sometimes messages come through), opening chests is impossible and Players is being kicked because endofstream.
I have found out that this happends when memoryusage is near maxium of 3gb. (usually around 2,5-2,8gb usage)
I startup the server with this .bat file;
I have looked in the serverlogs and this is what I have found;
Tons and tons of messages like this;
Error when players being kicked;
Does anybody have some clue what causing my problems? Is IC2 having a bug that eats all my memory and thats why it eventually crashes?
My server have been started to "crashing" every 10-12 hours.
The symptom is serious lag, nobody cant really chat with each other (sometimes messages come through), opening chests is impossible and Players is being kicked because endofstream.
I have found out that this happends when memoryusage is near maxium of 3gb. (usually around 2,5-2,8gb usage)
I startup the server with this .bat file;
Code:
@Echo OFF
SET BINDIR=%~dp0
CD /D "%BINDIR%"
"C:\Program Files\Java\jre7\bin\java.exe" -server -Xincgc -Xmx3G -Xms2G -Xmn1G -XX:NewRatio=2 -XX:CMSFullGCsBeforeCompaction=1 -XX:SoftRefLRUPolicyMSPerMB=2048 -XX:+CMSParallelRemarkEnabled -XX:+UseParNewGC -XX:+DisableExplicitGC -Xnoclassgc -XX:+UseFastAccessorMethods -XX:CMSInitiatingOccupancyFraction=90 -XX:+UseConcMarkSweepGC -XX:UseSSE=4 -XX:+UseCMSCompactAtFullCollection -XX:ParallelGCThreads=2 -XX:+AggressiveOpts -XX:ReservedCodeCacheSize=1G -cp "ftbserver.jar" -jar "ftbserver.jar"
PAUSE
I have looked in the serverlogs and this is what I have found;
Tons and tons of messages like this;
Code:
[WARNING] [IC2] EnergyNet.emitEnergyFrom: ic2.core.block.wiring.TileEntityTransformerLV@5dfb74e7 is not added to the enet
[WARNING] [IC2] EnergyNet.emitEnergyFrom: ic2.core.block.wiring.TileEntityElectricMFSU@27b819e5 is not added to the enet
[WARNING] [IC2] API ERROR: ic2.core.block.machine.tileentity.TileEntityRecycler@3a285619 didn't implement demandsEnergy() properly, no energy from injectEnergy accepted although demandsEnergy() returned true.
[WARNING] [IC2] API ERROR: ic2.core.block.machine.tileentity.TileEntityMacerator@6a3e7ae3 didn't implement demandsEnergy() properly, no energy from injectEnergy accepted although demandsEnergy() returned true.
Error when players being kicked;
Code:
2013-02-14 23:32:36 [INFO] [STDERR] Exception in thread "Connection #23 read thread" java.lang.Error: Interrupted attempt to aquire write lock
2013-02-14 23:32:36 [INFO] [STDERR] at javax.swing.text.AbstractDocument.writeLock(Unknown Source)
2013-02-14 23:32:36 [INFO] [STDERR] at javax.swing.text.AbstractDocument.replace(Unknown Source)
2013-02-14 23:32:36 [INFO] [STDERR] at javax.swing.JTextArea.replaceRange(Unknown Source)
2013-02-14 23:32:36 [INFO] [STDERR] at ic.publish(SourceFile:64)
2013-02-14 23:32:36 [INFO] [STDERR] at java.util.logging.Logger.log(Unknown Source)
2013-02-14 23:32:36 [INFO] [STDERR] at java.util.logging.Logger.doLog(Unknown Source)
2013-02-14 23:32:36 [INFO] [STDERR] at java.util.logging.Logger.log(Unknown Source)
2013-02-14 23:32:36 [INFO] [STDERR] at java.util.logging.Logger.info(Unknown Source)
2013-02-14 23:32:36 [INFO] [STDERR] at iv.a(NetServerHandler.java:749)
2013-02-14 23:32:36 [INFO] [STDERR] at cu.a(SourceFile:44)
2013-02-14 23:32:36 [INFO] [STDERR] at cg.i(TcpConnection.java:347)
2013-02-14 23:32:36 [INFO] [STDERR] at cg.c(TcpConnection.java:544)
2013-02-14 23:32:36 [INFO] [STDERR] at ch.run(SourceFile:93)
2013-02-14 23:32:46 [INFO] [STDERR] java.net.SocketException: Software caused connection abort: socket write error
2013-02-14 23:32:46 [INFO] [STDERR] at java.net.SocketOutputStream.socketWrite0(Native Method)
2013-02-14 23:32:46 [INFO] [STDERR] at java.net.SocketOutputStream.socketWrite(Unknown Source)
2013-02-14 23:32:46 [INFO] [STDERR] at java.net.SocketOutputStream.write(Unknown Source)
2013-02-14 23:32:46 [INFO] [STDERR] at org.bouncycastle.crypto.io.CipherOutputStream.write(Unknown Source)
2013-02-14 23:32:46 [INFO] [STDERR] at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
2013-02-14 23:32:46 [INFO] [STDERR] at java.io.BufferedOutputStream.flush(Unknown Source)
2013-02-14 23:32:46 [INFO] [STDERR] at java.io.DataOutputStream.flush(Unknown Source)
2013-02-14 23:32:46 [INFO] [STDERR] at ci.run(SourceFile:120)
2013-02-14 23:32:46 [INFO] [STDERR] java.net.SocketException: Software caused connection abort: socket write error
2013-02-14 23:32:46 [INFO] [STDERR] at java.net.SocketOutputStream.socketWrite0(Native Method)
2013-02-14 23:32:46 [INFO] [STDERR] at java.net.SocketOutputStream.socketWrite(Unknown Source)
2013-02-14 23:32:46 [INFO] [STDERR] at java.net.SocketOutputStream.write(Unknown Source)
2013-02-14 23:32:46 [INFO] [STDERR] at org.bouncycastle.crypto.io.CipherOutputStream.write(Unknown Source)
2013-02-14 23:32:46 [INFO] [STDERR] at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
2013-02-14 23:32:46 [INFO] [STDERR] at java.io.BufferedOutputStream.flush(Unknown Source)
2013-02-14 23:32:46 [INFO] [STDERR] at java.io.DataOutputStream.flush(Unknown Source)
2013-02-14 23:32:46 [INFO] [STDERR] at ci.run(SourceFile:120)
2013-02-14 23:32:46 [INFO] [Minecraft] PlayerName lost connection: disconnect.genericReason
Does anybody have some clue what causing my problems? Is IC2 having a bug that eats all my memory and thats why it eventually crashes?