From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Fischer To: development@lists.ipfire.org Subject: [PATCH 2/2] squid 5.1: set max number of filedesriptors to 32768 Date: Wed, 08 Sep 2021 18:01:52 +0200 Message-ID: <20210908160152.3223-2-matthias.fischer@ipfire.org> In-Reply-To: <20210908160152.3223-1-matthias.fischer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2734087075266872877==" List-Id: --===============2734087075266872877== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 --- src/initscripts/system/squid | 1 + 1 file changed, 1 insertion(+) diff --git a/src/initscripts/system/squid b/src/initscripts/system/squid index 7255c0aca..09e7a0443 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.18.0 --===============2734087075266872877==--