Skip to main content
criticalServer ErrorsAffects: All versions

How to Fix Max Tick Time Exceeded

Fix Max Tick Time Exceeded by identifying the blocking operation with Spark and optimizing server performance.

Quick Fix

Set max-tick-time=-1 in server.properties temporarily, then diagnose with Spark profiler.

Error Message

The server has stopped responding! / max-tick-time exceeded

How to Fix

1

Set max-tick-time=-1 in server.properties (disables the watchdog)

2

Use Spark to profile and find the blocking operation

3

Move the server to an SSD for faster disk I/O

4

Remove or update the blocking plugin

5

Set max-tick-time back to 60000 after fixing the root cause

Common Causes

  • A single tick took longer than max-tick-time (default 60 seconds)
  • Main thread blocked by a synchronous operation
  • Disk I/O bottleneck during world save
  • Plugin performing heavy computation on main thread

Diagnostic Steps

  1. Temporarily disable watchdog: max-tick-time=-1
  2. Install Spark and profile the server
  3. Find the long-running tick
  4. Fix the root cause and re-enable watchdog

FAQ

Is it safe to disable max-tick-time?

Only as a temporary measure for debugging. Leaving it disabled means a frozen server will never auto-stop.

Related Errors

Need More Help?