From 00c10e204c24e8ddf2abe07d7f10c5e02d497117 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Sun, 1 Oct 2023 00:30:46 +0800 Subject: [PATCH] services: qbittorrent: Raise limit for maximum open file descriptors. * rosenthal/services/bittorrent.scm (qbittorrent-shepherd-service) [#:resource-limits]: Set nofile to 65536 65536. --- rosenthal/services/bittorrent.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rosenthal/services/bittorrent.scm b/rosenthal/services/bittorrent.scm index a53dca9..2b8b968 100644 --- a/rosenthal/services/bittorrent.scm +++ b/rosenthal/services/bittorrent.scm @@ -1,4 +1,4 @@ -;; SPDX-FileCopyrightText: 2022 Hilton Chain +;; SPDX-FileCopyrightText: 2022, 2023 Hilton Chain ;; ;; SPDX-License-Identifier: GPL-3.0-or-later @@ -72,7 +72,8 @@ #$@extra-options) #:user "qbittorrent" #:group "qbittorrent" - #:log-file #$log-file)) + #:log-file #$log-file + #:resource-limits '((nofile 65536 65536)))) (stop #~(make-kill-destructor #:grace-period 1800)))))) (define qbittorrent-service-type