hydra: set hydra-evaluator+nix-daemon CPUWeight
so that system keeps responsive
This commit is contained in:
parent
b0e658cf88
commit
7bbf2ad30e
|
@ -43,11 +43,15 @@ in {
|
|||
'';
|
||||
};
|
||||
systemd.services.hydra-evaluator.serviceConfig = {
|
||||
CPUWeight = 2;
|
||||
MemoryAccounting = true;
|
||||
MemoryHigh = "32G";
|
||||
MemoryMax = "40G";
|
||||
MemorySwapMax = "8G";
|
||||
};
|
||||
systemd.services.nix-daemon.serviceConfig = {
|
||||
CPUWeight = 5;
|
||||
};
|
||||
|
||||
services.nginx =
|
||||
let
|
||||
|
|
Loading…
Reference in New Issue
Block a user