ATM10 Fixes // ChunkGC Bench
Safe Watchdog Recovery & Linux sysctl Swappiness Tuning
If an automated farm or corrupted tile entity freezes world load within 60 seconds of boot, follow a clean isolation path before editing max-tick-time.
Measured ATM10 JVM & Spark Profile
Two hidden Linux issues amplify Watchdog stalls: high vm.swappiness (60 default) paging JVM heap to disk, and corrupted entity/block-entity loops right at spawn or inside force-loaded chunks.
| Subsystem / Signal | Measured Target | Operational Impact |
|---|---|---|
| Default Linux vm.swappiness | 60 (aggressive swap) | Causes multi-second ZGC/G1 stall spikes |
| Tuned Dedicated VDS Swappiness | 1 - 10 | Keeps JVM heap pinned in physical DDR4/DDR5 |
| Safe Boot Watchdog Buffer | max-tick-time=90000 | Gives 90s for initial 450+ mod chunk load |
Step-by-Step Triage & Config Remediation
- Snapshot world before editing: Copy the world/ folder before changing neoforge-server.toml or deleting ticking entities.
- Use removeErroringBlockEntities temporarily: Enable removeErroringBlockEntities = true in neoforge-server.toml for one boot only if a broken machine crashes load, then revert to false.
- Lower vm.swappiness on VDS: Set sysctl vm.swappiness=10 and use NVMe SSDs for world saves.
# /etc/sysctl.d/99-atm10-jvm.conf (Root / Dedicated VDS) vm.swappiness=10 vm.dirty_background_ratio=5 vm.dirty_ratio=10
Diagnostic FAQ
Should I leave removeErroringBlockEntities=true permanently?
No! Leaving it true can silently delete modded machines during transient errors. Only enable it for single-boot crash recovery after taking a backup.
Why does initial world boot take longer than 60 seconds sometimes?
Autosaves or Dimension registration across 450+ mods on slower disks can brush 60 seconds; setting max-tick-time=90000 gives safe startup margin.