FTB Unleashed random server restarts

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord
Status
Not open for further replies.

glyn_ie

New Member
Jul 29, 2019
6
0
0
Hey guys,

Running a dedicated FTB Unleashed server. Currently updated to v1.1.2. All settings left as default with the following exceptions:

- Biomes o' Plenty mod enabled (file rename and config change)
- Rubber tree spawning enabled (config change)
- Enchanting plus mod enabled (file rename)
- NetherOres mod enabled (file rename)
- PowerCoverters mod enabled (file rename)
- Nucleum-Omnium mod disabled (file rename - enabled by default in 1.1.2, but only required by DeathTimer which is disabled by default in 1.1.2....hmmm)

Anyway, the server runs fine. As you can see, changes to the default configuration are pretty minimal. All players can play no problem. Personally I've been on it for several hours straight without issue, and it's been running for days....however, last night some players informed me that the server would just randomly shutdown and restart without reason or explanation. Apparently it happened several times last night. I have to say I experienced this once myself a couple days ago. It just said "server closed" or something, and then turned back on a few seconds later. I just reconnected...but I'd like to know why it's doing it. Seems completely random.

Is anyone else experiencing this problem?

UPDATE 1: The crash has just reoccured. There were 3 players online at the time. Seems no-one was doing anything of any particular consequence. The message was "Disconnected by server. Server closed". After a couple of minutes, it turned itself back on without me intervening.

Server.log file sheds no light on the situation. It just reports "Stopping server". ForgeModLoader-server-1.log however is a little more revealing. At the precise time the server shut down, I found the following:

2013-08-07 17:23:17 [INFO] [STDERR] java.lang.NoClassDefFoundError: net/minecraft/world/CallableLvl2
2013-08-07 17:23:17 [INFO] [STDERR] at net.minecraft.world.World.func_72914_a(World.java:4401)
2013-08-07 17:23:17 [INFO] [STDERR] at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:648)
2013-08-07 17:23:17 [INFO] [STDERR] at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:275)
2013-08-07 17:23:17 [INFO] [STDERR] at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:573)
2013-08-07 17:23:17 [INFO] [STDERR] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:470)
2013-08-07 17:23:17 [INFO] [STDERR] at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573)
2013-08-07 17:23:17 [INFO] [STDERR] Caused by: java.lang.ClassNotFoundException: net.minecraft.world.CallableLvl2
2013-08-07 17:23:17 [INFO] [STDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:238)
2013-08-07 17:23:17 [INFO] [STDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
2013-08-07 17:23:17 [INFO] [STDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
2013-08-07 17:23:17 [INFO] [STDERR] ... 6 more
2013-08-07 17:23:17 [INFO] [STDERR] Caused by: java.lang.OutOfMemoryError: PermGen space
2013-08-07 17:23:17 [INFO] [STDERR] at java.lang.ClassLoader.defineClass1(Native Method)
2013-08-07 17:23:17 [INFO] [STDERR] at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
2013-08-07 17:23:17 [INFO] [STDERR] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
2013-08-07 17:23:17 [INFO] [STDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:227)
2013-08-07 17:23:17 [INFO] [STDERR] ... 8 more
2013-08-07 17:23:18 [INFO] [Minecraft-Server] Stopping server
2013-08-07 17:23:18 [INFO] [Minecraft-Server] Saving players
2013-08-07 17:23:18 [INFO] [STDERR] java.net.SocketException: Socket closed
2013-08-07 17:23:18 [INFO] [STDERR] at java.net.PlainSocketImpl.socketAccept(Native Method)
2013-08-07 17:23:18 [INFO] [STDERR] at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:396)
2013-08-07 17:23:18 [INFO] [STDERR] at java.net.ServerSocket.implAccept(ServerSocket.java:522)
2013-08-07 17:23:18 [INFO] [STDERR] at java.net.ServerSocket.accept(ServerSocket.java:490)
2013-08-07 17:23:18 [INFO] [STDERR] at net.minecraft.server.ServerListenThread.run(ServerListenThread.java:80)
2013-08-07 17:23:18 [INFO] [Minecraft-Server] Closing listening thread

... and the server shuts down.

UPDATE 2: If it is a memory error, as the log may suggest, then I think it's more of a bug (a programming error with memory management) as our last server had 512meg of memory for FTB Ultimate and ran fine. This server has 1024meg for Unleashed. I doubt Unleashed requires double the memory.
 

glyn_ie

New Member
Jul 29, 2019
6
0
0
Unfortunately it's still restarting. Setting it to 256M also hasn't stopped the problem.
 

Eyamaz

New Member
Jul 29, 2019
2,373
0
0
your serverstart.bat/.sh should read as the following in the case of just adding perm gen space and starting without the gui (nogui improves cpu performance alot)

Code:
java -Xms1024m -Xmx1024x -XX:PermSize=128m -jar ftbserver.jar nogui

adjust Xms ans Xmx to whatever you need but kep them the same value for a server.

edit: if your serverstart.bat/.sh or whatever file you use to start your server has anything different, please post its contents here.
 
Status
Not open for further replies.