xmrig-auto-pause: raise thresholds for server background load
All checks were successful
Build and Deploy / deploy (push) Successful in 1m59s
All checks were successful
Build and Deploy / deploy (push) Successful in 1m59s
This commit is contained in:
@@ -26,8 +26,11 @@ lib.mkIf config.services.xmrig.enable {
|
||||
environment = {
|
||||
POLL_INTERVAL = "3";
|
||||
GRACE_PERIOD = "15";
|
||||
CPU_STOP_THRESHOLD = "15";
|
||||
CPU_RESUME_THRESHOLD = "5";
|
||||
# This server's background services (qbittorrent, monero, bazarr, etc.)
|
||||
# produce 5-14% non-nice CPU during normal operation. Thresholds must
|
||||
# sit above that noise floor.
|
||||
CPU_STOP_THRESHOLD = "40";
|
||||
CPU_RESUME_THRESHOLD = "30";
|
||||
STARTUP_COOLDOWN = "10";
|
||||
STATE_DIR = "/var/lib/xmrig-auto-pause";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user