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 = {
|
systemd.services.hydra-evaluator.serviceConfig = {
|
||||||
|
CPUWeight = 2;
|
||||||
MemoryAccounting = true;
|
MemoryAccounting = true;
|
||||||
MemoryHigh = "32G";
|
MemoryHigh = "32G";
|
||||||
MemoryMax = "40G";
|
MemoryMax = "40G";
|
||||||
MemorySwapMax = "8G";
|
MemorySwapMax = "8G";
|
||||||
};
|
};
|
||||||
|
systemd.services.nix-daemon.serviceConfig = {
|
||||||
|
CPUWeight = 5;
|
||||||
|
};
|
||||||
|
|
||||||
services.nginx =
|
services.nginx =
|
||||||
let
|
let
|
||||||
|
|
Loading…
Reference in New Issue