From 427361df65a8125e496b4f1fdbeacb167109a448 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sun, 21 Nov 2021 13:11:19 +0100 Subject: [PATCH] fuuko/torrent: Increase open file descriptor limit --- machines/fuuko/services/torrent.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/machines/fuuko/services/torrent.nix b/machines/fuuko/services/torrent.nix index fc1564a..ab2b4b2 100644 --- a/machines/fuuko/services/torrent.nix +++ b/machines/fuuko/services/torrent.nix @@ -61,6 +61,9 @@ let User = "aria2"; Group = "nginx"; + # Increase number of open file descriptors (default: 1024) + LimitNOFILE = 65536; + # systemd-analyze --no-pager security aria2-rpc-proxy.service CapabilityBoundingSet = null; PrivateDevices = true;