From d76bf29c5f55f63f10741290c8d415c880a80ac2 Mon Sep 17 00:00:00 2001 From: Ana Hobden Date: Fri, 7 Jul 2023 07:52:16 -0700 Subject: [PATCH] Choose a reasonable number similar to LimitNOFile --- misc/systemd/nix-daemon.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/systemd/nix-daemon.service.in b/misc/systemd/nix-daemon.service.in index 4b4474475..45fbea02c 100644 --- a/misc/systemd/nix-daemon.service.in +++ b/misc/systemd/nix-daemon.service.in @@ -10,7 +10,7 @@ ConditionPathIsReadWrite=@localstatedir@/nix/daemon-socket ExecStart=@@bindir@/nix-daemon nix-daemon --daemon KillMode=process LimitNOFILE=1048576 -TasksMax=infinity +TasksMax=1048576 [Install] WantedBy=multi-user.target