From 96b9c63b571e64a6d0660af378e49af586853542 Mon Sep 17 00:00:00 2001 From: Matthias Fischer Date: Wed, 8 Sep 2021 18:01:52 +0200 Subject: [PATCH] squid 5.1: set max number of filedesriptors to 32768 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Since the maximum number of filedescriptors which are possible for 'squid 5.1' are now 32768, I modified the initscript accordingly. Signed-off-by: Matthias Fischer Acked-by: Peter Müller Reviewed-by: Michael Tremer --- src/initscripts/system/squid | 1 + 1 file changed, 1 insertion(+) diff --git a/src/initscripts/system/squid b/src/initscripts/system/squid index 7255c0aca0..09e7a04433 100644 --- a/src/initscripts/system/squid +++ b/src/initscripts/system/squid @@ -48,6 +48,7 @@ transparent() { case "$1" in start) + ulimit -n 32768 getpids "squid" if [ -n "${pidlist}" ]; then -- 2.39.5