AE2 & Mekanism Watchdog 60s Crash: Single-Thread Tick Stall
When Applied Energistics 2 recursive crafting requests or Mekanism logistical pipe loops stall one CPU thread for 60 seconds, ServerWatchdog forcibly terminates the JVM.
Measured ATM10 JVM & Spark Profile
Minecraft executes world block-entity ticks sequentially on a single thread. On shared low-clock vCPUs (<3.6 GHz) or noisy-neighbor nodes, massive Mekanism ore-processing lines plus cyclic AE2 storage bus loops push MSPT past 50 ms until a full garbage collection or chunk save pushes a single tick over 60,000 ms.
| Subsystem / Signal | Measured Target | Operational Impact |
|---|---|---|
| Healthy Spark MSPT | 18 - 38 ms/tick | Locked 20.0 TPS with headroom |
| Degraded Late-Game MSPT | 52 - 140 ms/tick | 7 - 19 TPS; autosave spike risks Watchdog |
| Required Dedicated CPU Boost | 4.5 - 4.7+ GHz | UltaHost Dedicated VDS prevents steal time |
Step-by-Step Triage & Config Remediation
- Capture Spark tick trace: Run /spark profiler start --timeout 60 --only-ticks-over 50 to identify the exact block entity or mod namespace.
- Isolate Mekanism & AE2 loops: Replace long chains of Mekanism ultimate mechanical/logistical transporters with direct AE2 P2P or LaserIO transfers.
- Pin dedicated physical cores: Move late-game 30+ player factories from shared threads to UltaHost Dedicated VDS (4.6-4.7 GHz).
/spark profiler start --timeout 60 --only-ticks-over 50 # server.properties emergency buffer only after fixing root block entity: max-tick-time=90000
Diagnostic FAQ
Does setting max-tick-time=-1 fix Watchdog crashes?
Setting -1 only disables the Watchdog kill switch; the server remains frozen for players. Always fix the tick bottleneck with Spark and single-core CPU clock.
Why does AE2 autocrafting spike MSPT?
Deep recursive crafting trees with missing ingredients recalculate pathing graphs on the server thread every few ticks.