Minecraft Server lags and freezes system then crashes on linux.

I just reopened a small SMP with friends and decided it would be the best for the server if I switched to linux (The distro I use is called linux mint) however after sometime my system starts to lag then the server just gets killed. This never happened on windows when I used to run a SMP and my system specs are quite fine ryzen 5600,RX 6700xt,32 gigs of ram. I am also playing in this server myself.
37 Replies
Admincraft Meta
Thanks for asking your question!
Once you have finished, please close your thread. Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
command to close
/close !close !solved
Requested by Epicness7131#6128
Epicness
EpicnessOP2y ago
There is also nothing in the logs that really help me
Arnon001
Arnon0012y ago
Can you run a speed test on the server?
Arnon001
Arnon0012y ago
Joey Sneddon
OMG! Linux
How to Test Internet Speed from the Command Line on Linux - OMG! Li...
It's dead easy to test your internet connection speed on a modern computer: just open a web browser, head to the speedtest.net website, and bam: away you
Arnon001
Arnon0012y ago
and please send the results
Epicness
EpicnessOP2y ago
Ping:29.054 ms Download:42.83 Upload: 12.89
Arnon001
Arnon0012y ago
do you have any plugins on the server?
Epicness
EpicnessOP2y ago
No description
Arnon001
Arnon0012y ago
Try Removing Chunky And restart the server
Epicness
EpicnessOP2y ago
alright
Epicness
EpicnessOP2y ago
No description
Epicness
EpicnessOP2y ago
Just happened with me as the only person on the server ussually I do not get a log like this and it just said it was lagging and then "Killed"
Arnon001
Arnon0012y ago
What is the mc verison? and can you please run /pl and send me an image of the output?
Epicness
EpicnessOP2y ago
1.20.1 Purpur
Arnon001
Arnon0012y ago
Run /pl
Epicness
EpicnessOP2y ago
in the command line? or the server
QarthO
QarthO2y ago
Just run a spark profiler !spark
Carl-bot
Carl-bot2y ago
Spark Profiler
Spark can be used to see why your server or client is lagging. https://spark.lucko.me/
From An unknown user
Admincraft Canned Responses
QarthO
QarthO2y ago
Also can u show the full logs instead of a screenshot? !logs
Carl-bot
Carl-bot2y ago
Please check your server log for errors from your plugins.
If you need further help understanding the errors, please send us the whole log file. Where can I find the server log? Logs are stored in <server_directory>/logs/. Search for a file explorer in your server's management interface and navigate to that directory. Once you've opened that up, search for the latest.log file. Some providers have a separate page for logs and may hide the "logs" folder. On Aternos: • Go to https://aternos.org/log/. On Minehut and server.pro: • Go to the "files" tab in the left menu. • Navigate to the root directory of your server. • From there navigate to /logs/latest.log. What should I do with the log? • First of all, read it! I mean, that's what you do all the time when you run a server, isn't it? Try to locate any errors that have anything to do with the issue you are facing. • If you got the latest.log file or created a .txt file with the necessary errors you can upload these directly to the channel, but we prefer if you upload them to https://mclo.gs/. • If you have trouble downloading the log file, copy/paste the text to a paste service (like mclogs). Copy the link that it gives you and send it to us. (Don't worry, McLogs hides your users' IPs.)
Admincraft Canned Responses
Epicness
EpicnessOP2y ago
Pastebin
[05:01:51 WARN]: Can't keep up! Is the server overloaded? Running 5...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Admincraft Meta
Pastebin is blocked in some countries
Requested by Epicness7131#6128
Epicness
EpicnessOP2y ago
No description
Epicness
EpicnessOP2y ago
with just me on the server
QarthO
QarthO2y ago
Can u post the link?
Epicness
EpicnessOP2y ago
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Admincraft Meta
Spark Profile Analysis
These are not magic values. Many of these settings have real consequences on your server's mechanics. See this guide for detailed information on the functionality of each setting.
✅ Your server isn't lagging
Your server is running fine with an average TPS of 20.
Requested by Epicness7131#6128 • Page 1 of 4
QarthO
QarthO2y ago
Yeah, server looks great, are you running this in a container? Looks like the machine is running out of memory (not ur mc server)
Epicness
EpicnessOP2y ago
no I have tons of ram allocated to MC not the server mainly since I use big modpacks
QarthO
QarthO2y ago
yes I see the server has 7gb total, and the machine the server is on has 16gb
Epicness
EpicnessOP2y ago
maybe that is the issue
QarthO
QarthO2y ago
What else is being ran on the computer, are you self hosting?
Epicness
EpicnessOP2y ago
self hosting yeah it is just a small SMP with some freinds max people on the server is like 7-8
QarthO
QarthO2y ago
I’d just allocate a little less to ur Minecraft, so ur computer has more ram to do more stuff you might be able to get away with 6gb allocated on the server if ur not using lots of plugins and it’s only a couple people You could also look into free hosting thru something like oracle
Epicness
EpicnessOP2y ago
oracle cloud VM?
QarthO
QarthO2y ago
Yeah, it’s pretty limited (the free tier), but might be just enough for ur needs I’ve personally never used it, but theres lots of others here that have can help if needed
Epicness
EpicnessOP2y ago
I will look into it there are not many players and it probably has better internet then I do so it might be better

Did you find this page helpful?