Skip to main content
warningServer ErrorsAffects: All versions

How to Fix Server TPS Lag

Fix TPS lag by using Spark profiler to find lag sources, reducing view distance, and optimizing entities and redstone.

Quick Fix

Install Spark profiler to identify the lag source. Common fixes: reduce view distance and kill excess entities.

Error Message

Can't keep up! Is the server overloaded?

How to Fix

1

Install Spark profiler and run /spark profiler to find lag sources

2

Reduce view-distance and simulation-distance in server.properties

3

Set entity limits per chunk

4

Remove lag machines and excessive redstone

5

Optimize hopper chains or use hopper optimization plugins

6

Pre-generate the world to avoid lag from chunk generation

7

Use Paper or Purpur instead of vanilla server for better performance

Common Causes

  • Too many entities in loaded chunks
  • Expensive plugin or mod operations on the main thread
  • Insufficient server hardware
  • World pre-generation with too many chunks
  • Redstone lag machines
  • Excessive hopper chains

Diagnostic Steps

  1. Run /spark profiler for 60 seconds
  2. Check the report for what is consuming tick time
  3. Address the top consumers
  4. Monitor TPS with /tps or Spark

FAQ

What is good TPS?

20 TPS is perfect. 18+ is acceptable. Below 15, players will notice lag. Below 10 is unplayable.

What does 'Can't keep up' mean?

The server cannot process a full game tick within 50ms (20 TPS target). It is falling behind on updates.

Related Errors

Need More Help?