Logs / Error guide / Minecraft
Minecraft: “Can't keep up! Is the server overloaded?”
What the message means
A Minecraft server runs 20 ticks per second, so one tick every 50 milliseconds. If it can't manage that for a longer time, it writes this warning with the time and the number of ticks it is behind. For players, this feels like lag: blocks reappear, mobs jump, redstone gets slow.
What it looks like in the log
[18:20:03] [Server thread/INFO]: Starting minecraft server version 1.21.4
[18:20:15] [Server thread/INFO]: Done (11.902s)! For help, type "help"
[18:41:27] [Server thread/INFO]: Mia_Baut joined the game
[18:52:09] [Server thread/WARN]: Can't keep up! Is the server overloaded? Running 2541ms or 50 ticks behind
[18:55:44] [Server thread/WARN]: Can't keep up! Is the server overloaded? Running 5307ms or 106 ticks behind
[18:58:12] [Server thread/WARN]: Can't keep up! Is the server overloaded? Running 3018ms or 60 ticks behind
Excerpt from an example log, marked the way the analysis marks it.
Common causes
- Too many entities in one place: animal farms, item piles, villager halls.
- Large redstone circuits, hopper chains or clock circuits that work every tick.
- Chunk generation when several players explore new areas at the same time.
- A plugin or mod that does a lot of computing on every tick.
- Too little CPU power or too little RAM, so Java has to clean up constantly (garbage collection).
- Occasional warnings right after startup or after a save are normal and not a problem.
How to fix it
- Look at the number: a few hundred milliseconds now and then are harmless. Several seconds, or warnings every minute, need a fix.
- Use the plugin or mod spark (/spark profiler) to measure which parts of the server use the time – entities, chunks or a specific plugin.
- Limit entities: make farms smaller, have items removed automatically, and on Paper use the entity limits in the configuration.
- Lower simulation-distance in server.properties. On Paper, this often helps more than any other setting.
- Pre-generate the world (for example with Chunky) instead of letting it be generated while people play.
- If you use Vanilla, switch to Paper or Purpur – they run much more smoothly on the same hardware.