nixos/nix-daemon: set LimitNOFILE to 1048576
fixes 'too many open files'
This commit is contained in:
parent
d85ed9ea2a
commit
c8f5b17a98
|
@ -734,7 +734,7 @@ in
|
||||||
CPUSchedulingPolicy = cfg.daemonCPUSchedPolicy;
|
CPUSchedulingPolicy = cfg.daemonCPUSchedPolicy;
|
||||||
IOSchedulingClass = cfg.daemonIOSchedClass;
|
IOSchedulingClass = cfg.daemonIOSchedClass;
|
||||||
IOSchedulingPriority = cfg.daemonIOSchedPriority;
|
IOSchedulingPriority = cfg.daemonIOSchedPriority;
|
||||||
LimitNOFILE = 4096;
|
LimitNOFILE = 1048576;
|
||||||
};
|
};
|
||||||
|
|
||||||
restartTriggers = [ nixConf ];
|
restartTriggers = [ nixConf ];
|
||||||
|
|
Loading…
Reference in a new issue