From: Matthias Fischer Date: Wed, 8 Sep 2021 16:01:52 +0000 (+0200) Subject: squid 5.1: set max number of filedesriptors to 32768 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=96b9c63b571e64a6d0660af378e49af586853542;p=people%2Fstevee%2Fipfire-2.x.git squid 5.1: set max number of filedesriptors to 32768 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 --- 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