My modded Forge 1.12 Minecraft server keeps crashing after running for several minutes with players on, and I'm not sure why this is happening. It was working fine all this morning, up until an hour ago when suddenly it crashed without warning. I restarted the server, and it ran for a few more minutes. Then it crashed again. I restarted my computer hoping it was maybe an OS issue, but the crashes kept coming minutes after the server would go up. I have no clue why this is happening.
Looking through the server chat logs, I found this line of text right before the latest crash:
[17:33:06] [Server Watchdog/FATAL]: A single server tick took 60.00 seconds (should be max 0.05)
[17:33:06] [Server Watchdog/FATAL]: Considering it to be crashed, server will forcibly shutdown.
your server is crashing due to high lag your need to edit your server startup script to allow java you use3e more then the stock ram about 4-5Gb ram would be a good start also make sure you match your hardware as well as your server. We can't tell you what args to use as every set up is different hence why you need to enter them yourself but there is plenty of resources out there a google of "minecraft modded java arguments" will give plenty of examples and walkthroughs.
It is the same args that you enter in your minecraft client so they should not be too confusing
Hmm seems there are no tutorials I can find on how to add java arguments in to the forge .jar server launcher. How do I do it? I'm very new to using mods on Minecraft and when it comes to launcher arguments, i'm afraid I have no idea what i'm doing.
My modded Forge 1.12 Minecraft server keeps crashing after running for several minutes with players on, and I'm not sure why this is happening. It was working fine all this morning, up until an hour ago when suddenly it crashed without warning. I restarted the server, and it ran for a few more minutes. Then it crashed again. I restarted my computer hoping it was maybe an OS issue, but the crashes kept coming minutes after the server would go up. I have no clue why this is happening.
Mods i'm using:
Crash logs:
https://www.dropbox.com/s/0drtf5fyi6d1pkb/crash%20logs.zip?dl=0
Looking through the server chat logs, I found this line of text right before the latest crash:
How do you have your server configured?
Here's the stats in the config file:
that it the properties file how do you have your server configured ie the java args in your startup script
It has no custom arguments, I don't even know how to configure the .jar to do that.
your server is crashing due to high lag your need to edit your server startup script to allow java you use3e more then the stock ram about 4-5Gb ram would be a good start also make sure you match your hardware as well as your server. We can't tell you what args to use as every set up is different hence why you need to enter them yourself but there is plenty of resources out there a google of "minecraft modded java arguments" will give plenty of examples and walkthroughs.
It is the same args that you enter in your minecraft client so they should not be too confusing
Thanks for the recommendation, i'll give it a shot and let you know if it helps.
Also the server crashes finally stopped, I don't know what it was but things seem to have relaxed now.
Hmm seems there are no tutorials I can find on how to add java arguments in to the forge .jar server launcher. How do I do it? I'm very new to using mods on Minecraft and when it comes to launcher arguments, i'm afraid I have no idea what i'm doing.
You can create a .bat file and include the following to start your server:
java -server -Xms2048M -Xmx4500M -XX:PermSize=256m -Djline.terminal=jline.UnsupportedTerminal -jar your_jar_file.jar nogui
Xms= minimum amount of ram
Xmx= max amount of RAM, depending on how much your hardware has
EnviousHost MINECRAFT SERVERS - CHEAP - [FREE MUMBLE] [FREE WEBHOSTING] [ONE CLICK PLUGINS]