remotebuild: reduce priority of scheduling of the nix-daemon
This commit is contained in:
parent
063b489f1a
commit
1f0cdc71e7
1 changed files with 4 additions and 0 deletions
|
|
@ -37,12 +37,16 @@ in
|
|||
max-jobs = "auto";
|
||||
cores = 0;
|
||||
};
|
||||
|
||||
daemonIOSchedClass = lib.mkDefault "idle";
|
||||
daemonCPUSchedPolicy = lib.mkDefault "idle";
|
||||
};
|
||||
|
||||
systemd.services.nix-daemon.serviceConfig = {
|
||||
MemoryAccounting = true;
|
||||
MemoryMax = "90%";
|
||||
OOMScoreAdjust = 500;
|
||||
Slice = "-.slice";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue