Remediation Hub (10)
Configure ZRAM Emergency Buffer & OOMScoreAdjust=-500
Protect RustDedicated from abrupt OOM-kills while maintaining clean physical RAM boundaries.
Safety:LZ4 ZRAM 4 GB + OOMScoreAdjust=-500
Emergency ZRAM vs Primary Physical RAM
ZRAM compresses cold asset pages in RAM using LZ4 at ~2.5:1 ratio, providing a soft landing if a modded event temporarily pushes usage 1–2 GB above estimate. It never replaces sizing physical RAM (24–32 GB for 300k+ entities), because active entity sweeps still need unswapped RAM.
Protect the Game Binary via systemd
Set OOMScoreAdjust=-500 inside your rustdedicated.service unit so peripheral log shippers or backup agents are terminated before the live game server if memory runs tight.
Measured Thresholds & Configuration
| Setting | Value | Role |
|---|---|---|
| ZRAM Compression | lz4 (4 GB ceiling) | Soft emergency overflow |
| vm.swappiness | 10 | Avoid premature page-out |
| OOMScoreAdjust | -500 | Shield RustDedicated from OOM-kill |