Server Keeps Crashing โ How to Identify the Cause
Server Keeps Crashing โ How to Identify the Cause
If your server keeps crashing or restarting unexpectedly, there is usually a cause hidden in your server logs. This guide will help you identify and fix it.
Step 1 โ Check the Crash Analysis
When your server crashes, a Crash Analysis banner will appear at the top of your console. There are three possible results:
- "We analyzed your server and found X issues" โ Click View Details to see what caused the crash.
- "We analyzed your server crash but found no specific issues" โ The crash may be due to configuration or resource limitations. Click View Details for more info or check the logs manually.
- "Server crashed but analysis failed" โ The automatic analysis was unable to determine the cause. Check the logs manually.
Step 2 โ Check the Logs
If the Crash Analysis doesn't give you a clear answer, check your logs manually:
- Go to the Console tab in your panel.
- Click the View Details button to instantly view your server logs and identify what caused the crash.
- Alternatively, go to the Files tab, open the
logsfolder, and openlatest.log. - Scroll to the bottom and look for any
ERRORorWARNmessages that appear around the time of the crash.
Common Causes
- Incompatible or outdated plugins/mods โ A plugin or mod that is not compatible with your server version can cause crashes.
- Out of memory โ Your server is running out of allocated RAM. See: How to Fix Out of Memory Errors.
- World corruption โ A corrupted chunk or world file can cause repeated crashes.
- Incompatible plugin/mod combinations โ Two or more plugins or mods conflicting with each other.
- Wrong JVM version โ Your Java version may not be compatible with your server software.
How to fix it
- Remove recently added plugins or mods and restart your server to see if the crash stops.
- Update your plugins or mods to the latest version compatible with your server.
- Reset your world if you suspect world corruption. See: How to Reset Your World.
- Check your JVM version under the Options tab in your panel and make sure it matches your server software's requirements.
- Reinstall your server if none of the above steps work. Go to the Settings tab in your panel and click Reinstall Server.
โ ๏ธ Warning: Reinstalling will delete all server files including plugins, configs, and worlds. Make sure to back up your files first.
Still can't find the cause?
If you've gone through all the steps above and still can't identify the issue, ping a community support member that is available in our Discord Server and share your logs โ they'll be happy to help.