I hope I'm posting this to the right place. Apologies if I fuzz up.
I've been running a low-volume (2-3 users max) TechWorld2 server since 2.1.0.1. Upgraded to 2.1.1.1 as soon as it came out.
While people are using the server, it will crash after a seemingly random amount of time, or simply shut itself down.
Here's what the log says just as the users are disconnected and the system stops responding:
2014-02-06 00:01:44 [INFO] Stopping server
2014-02-06 00:01:44 [INFO] Saving players
2014-02-06 00:01:44 [INFO] ***** left the game
2014-02-06 00:01:45 [SEVERE] Reached end of stream for /*.*.*.*
2014-02-06 00:01:45 [INFO] ***** left the game
2014-02-06 00:01:45 [INFO] Saving worlds
2014-02-06 00:01:45 [INFO] Saving chunks for level 'world'/Overworld
2014-02-06 00:01:46 [INFO] Saving chunks for level 'world'/Nether
2014-02-06 00:01:46 [SEVERE] Reached end of stream for /*.*.*.*
At this point, I either have to restart the system because it shut itself down, or kill off the processes manually (kill -9 required, graceful exit requests are ignored) and restart the service.
It also crashes. The following logs are preceded by excessive memory usage and high CPU loads (230%+)
2014-02-05 19:45:31 [SEVERE] Encountered an unexpected exception NoClassDefFoundError
java.lang.NoClassDefFoundError: scala/collection/mutable/Map$WithDefault
at scala.collection.mutable.Map$class.withDefaultValue(Map.scala:48)
at scala.collection.mutable.AbstractMap.withDefaultValue(Map.scala:91)
at codechicken.multipart.ControlKeyModifer$.<init>(ControlKeyModifier.scala:27)
at codechicken.multipart.ControlKeyModifer$.<clinit>(ControlKeyModifier.scala)
at codechicken.multipart.handler.MultipartSPH$.handlePacket(packethandlers.scala:97)
at codechicken.lib.packet.PacketCustom$ServerTinyPacketHandler.handle(PacketCustom.java:201)
at codechicken.lib.packet.PacketCustom$CustomTinyPacketHandler.handle(PacketCustom.java:233)
at cpw.mods.fml.common.network.NetworkRegistry.handleTinyPacket(NetworkRegistry.java:354)
at cpw.mods.fml.common.network.FMLNetworkHandler.handlePacket131Packet(FMLNetworkHandler.java:430)
at net.minecraft.network.NetServerHandler.func_72494_a(NetServerHandler.java:1312)
at net.minecraft.network.packet.Packet131MapData.func_73279_a(SourceFile:41)
at net.minecraft.network.TcpConnection.func_74428_b(TcpConnection.java:462)
at net.minecraft.network.NetServerHandler.func_72570_d(NetServerHandler.java:141)
at net.minecraft.network.NetworkListenThread.func_71747_b(NetworkListenThread.java:54)
at net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747_b(SourceFile:30)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:691)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:276)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:587)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484)
at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:583)
Caused by: java.lang.ClassNotFoundException: scala.collection.mutable.Map$WithDefault
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:186)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 20 more
Caused by: java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:178)
... 22 more
2014-02-05 19:45:32 [INFO] Stopping server
2014-02-05 19:45:32 [INFO] Saving players
2014-02-05 19:45:32 [INFO] Closing listening thread
2014-02-05 19:45:33 [INFO] ***** left the game
2014-02-05 19:45:33 [SEVERE] Reached end of stream for /*.*.*.*
2014-02-05 19:45:48 [SEVERE] Reached end of stream for /*.*.*.*
2014-02-05 19:45:59 [INFO] ***** left the game
2014-02-05 19:46:03 [INFO] Saving worlds
2014-02-05 19:46:03 [INFO] Saving chunks for level 'world'/Overworld
Best guess I have is that some chunk is loading with some item in it that's causing it to run away with a memory leak.
Server options:
java -Xmx2500M -Xms1596M -jar FTBServer-1.6.4-965.jar -XX:+CMSClassUnloadingEnabled
I tried RotaryCraft, but the windmills crash the server on placement. So no-RotaryCraft items are placed.
I have the following items:
- 4 Electric Furnace
- 2 Generators
- 1 Batbox
- 1 Metal Former
- 1 Compressor
- 1 Ore washer
- 2 Macerators
- Bed
- 4 Barrels
- Several iron chests
- Blast Furnace (HLSA, not vanilla steel)
- Wheat farm
- Carrots
- Ender seeds
- House made of stone bricks & wood stairs
Even with just my chunks loaded, after a few hours, it will stop working. With 2 people on, it survives less time, but usually no less than 30 minutes.
It also likes to crash after building nether gates, but that might be coincidental.
Anyone else reporting a similar issue? Problem with the upgrade from 1.0.1 -> 1.1.1?
Thanks for your assistance in advance and putting together such an awesome mod pack!