Sudden freezes and Can`t keep up
Diagnosing periodic server hangs: garbage collection, autosaving, scheduled tasks, and external causes.
Updated August 13, 2026
Average TPS is normal, but every few minutes the server freezes for 1–5 seconds.
Candidates by frequency
- Garbage collection. The most common cause of regular periodic freezes — Garbage collector.
- World autosave. Especially on a large world and a full disk — Autosave.
- Scheduled tasks: backups, map rendering, heavy commands — Schedule, Dynmap.
- Plugins with periodic tasks: checking all players once a minute, saving data, calling an external API.
- Chunk generation when a player runs — Chunk loading.
How to find it
Run a profiler and wait for a freeze:
spark profiler start --timeout 600
The report will show what was happening at the moment of the drop — Spark.
Compare the freeze times with the task schedule: a match to the minute is the answer.
Can't keep up
The log line Can't keep up! Did the system time change, or is the server overloaded? means that a tick took much longer than 50 ms. This is a consequence, not a cause — breakdown.
What won't help
Restarting more often every couple of hours is a cover-up. It helps only with a memory leak, and even then temporarily — Memory.
Minecraft hostingYour server runs while you are offlineCreate server
