Solved Direwolf20 1.5.2 Server keeps `Crashing`

  • 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

J3FF97

New Member
Jul 29, 2019
11
0
0
Hello Everyone.

So i recently updated my server from the private pack version of dw20 1.5.2 to the `Official` version, and since then the server sometimes just completely shuts itself off.
It happens randomly, and without warning, not even a lag spike or something you (Or it's just me, who knows) `Normally` get before a crash.

I am running the server from my own computer, I have 4 gigs ram dedicated to it, 3.5 to the server, 512M to Permgen.
Using the recommended version of dw20 1.5.2.
It is a small server, with currently a max of 3 players, 2 on my network, the other somewhere else.
Running Windows 7 64bit, 8GB RAM.

One of the weird things is: NOTHING shows up in the logs, client side the only message is "Server Closed" and server side the only thing you can see is " stopping the server' etc, the standard things you would see when you would issue the "Stop" command.

Logs will be posted by request, but I have gone over them countless times, and i see nothing that could cause crashing.

Thanks in advance.
J3FF97

EDIT: Going through my logs from yesterday [ 11-8-2013] I have found 1 log where the upper described case is present, my 2 other logs have clear crashes in them, unfortunatly I myself get lost when reading logs, so again, if anyone needs to see them, please tell me, and i'll pastebin them and share them with you!
 

Dingham

New Member
Jul 29, 2019
294
0
0
Pastebin the crash from the logs and I'll happily look.

Also whats your start up command? Might highlight something.
 

J3FF97

New Member
Jul 29, 2019
11
0
0
My logs were too big to upload to pastebin, okay :/ So I just uploaded them here in this post, hope you dont mind ^^
the first log (server-0) describes the problem of the server just shutting off out of the blue
The other 2 logs show a crash, i think it is a Permgen crash, not sure.

Code:
java -Xms3G -Xmx3G -XX:PermSize=256M -XX:MaxPermSize=512M -jar ftbserver.jar

This is what I use as my startup Command, I used this one since last year, and whenever i need to update i just copy over the command and change the name of the .jar if necessary.
 

Attachments

  • ForgeModLoader-server-0.txt
    660.1 KB · Views: 70
  • ForgeModLoader-server-1.txt
    659 KB · Views: 70
  • ForgeModLoader-server-2.txt
    659.3 KB · Views: 69

Dingham

New Member
Jul 29, 2019
294
0
0
Code:
2013-08-11 19:35:38 [INFO] [STDERR] Caused by: java.lang.OutOfMemoryError: PermGen space
2013-08-11 19:35:38 [INFO] [STDERR]     at java.lang.ClassLoader.defineClass1(Native Method)
2013-08-11 19:35:38 [INFO] [STDERR]     at java.lang.ClassLoader.defineClass(Unknown Source)
2013-08-11 19:35:38 [INFO] [STDERR]     at java.security.SecureClassLoader.defineClass(Unknown Source)
2013-08-11 19:35:38 [INFO] [STDERR]     at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:227)
2013-08-11 19:35:40 [INFO] [STDERR]     ... 8 more
2013-08-11 19:35:41 [INFO] [Minecraft-Server] Stopping server

There's your problem
 

cjm721

New Member
Jul 29, 2019
734
0
1
The 0 log that is odd. Nothing really to go off of. But as for the others it is a permgen issue which does not make sense with you having dedicated 512M (unless garage collector is not running correctly).

There are a few startup scripts floating around. You might want to go to the mystcraft wiki (BinaryMage) and use that startup script as it is designed for memory management.
 

Dingham

New Member
Jul 29, 2019
294
0
0
Maybe its to do with the way you have minimum/maximum set up. Try ...
Code:
java -Xms3G -Xmx3G -XX:PermSize=512M -jar ftbserver.jar
 

J3FF97

New Member
Jul 29, 2019
11
0
0
I thought it was something like that, and when taking a closer look I found out I had a lot of junk running all the time, so here is what i did:
I ran my cleaner, did a defrag, deinstalled some stuff, the basic things, I also reduced the amount of background programs running to only the bare minimum
I also allocated +/- 10 GB virtual memory on my hard disc, just for that extra space, then I turned on the server, had it running all day long, no crashes, 2 players on almost all the time.
The issue was ( in my case) Memory usage by junk programs, or at least thats the problem, If I still get crashes like this ill look up other startscripts like you said, but for now it is fixed, thanks for taking a look at the problem.