I have recently set up a minecraft server on a 2GB RAM droplet.
I have assigned the server 1950MB of ram and also added swap. (The server is not running on root, but on a separate user with sudo privileges.)
However, quite frequently the whole server shuts down because it can’t keep up.
[Server thread/WARN]: Can't keep up! Is the server overloaded? Running 61557ms or 1231 ticks behind
To my understanding it can’t process the calculations and gets behind, but the CPU usage seems fine when I looked the chart.
I don’t really know why this happens, does anyone have a solution for this, or know why this is happening?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.