Remediation Hub (10)
Configure Systemd CPUSchedulingPolicy & Nice=-10 for Rust
Give RustDedicated scheduling priority over background log rotation, gzip backups, and monitoring agents.
Unit: Nice=-10 + LimitNOFILE=1048576
Prevent Background Cron Jobs from Stealing Frame Time
Scheduled map backups or log compression jobs running at default nice 0 contend with the Unity main thread for CPU time slices. Setting Nice=-10 on rustdedicated.service and nice -n 19 on backup scripts keeps main-thread jitter flat.
File Descriptor & Memory Lock Limits
Always declare LimitNOFILE=1048576 inside the systemd unit so Steamworks sockets, Oxide plugin files, and SQLite WAL handles never hit the 1,024 default open-file ceiling.
Measured Thresholds & Configuration
| Systemd Directive | Recommended Value | Impact |
|---|---|---|
| Nice | -10 | Prioritize Unity main thread |
| CPUAffinity | 0 1 2 3 4 5 | Pin to single CCX on VDS |
| LimitNOFILE | 1048576 | Prevent socket/WAL descriptor exhaustion |
| Restart | on-failure (10s) | Clean recovery after wipe restarts |