hydra: ralentir
This commit is contained in:
parent
7bbf2ad30e
commit
8a42078b88
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
useSandbox = false;
|
useSandbox = false;
|
||||||
maxJobs = 4;
|
maxJobs = 2;
|
||||||
buildCores = 16;
|
buildCores = 16;
|
||||||
gc = {
|
gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
|
|
|
@ -44,13 +44,15 @@ in {
|
||||||
};
|
};
|
||||||
systemd.services.hydra-evaluator.serviceConfig = {
|
systemd.services.hydra-evaluator.serviceConfig = {
|
||||||
CPUWeight = 2;
|
CPUWeight = 2;
|
||||||
MemoryAccounting = true;
|
MemoryHigh = "24G";
|
||||||
MemoryHigh = "32G";
|
MemoryMax = "32G";
|
||||||
MemoryMax = "40G";
|
|
||||||
MemorySwapMax = "8G";
|
MemorySwapMax = "8G";
|
||||||
};
|
};
|
||||||
systemd.services.nix-daemon.serviceConfig = {
|
systemd.services.nix-daemon.serviceConfig = {
|
||||||
CPUWeight = 5;
|
CPUWeight = 5;
|
||||||
|
MemoryHigh = "24G";
|
||||||
|
MemoryMax = "32G";
|
||||||
|
MemorySwapMax = "8G";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.nginx =
|
services.nginx =
|
||||||
|
|
Loading…
Reference in New Issue