From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH 2/2] squid 5.1: set max number of filedesriptors to 32768 Date: Tue, 21 Sep 2021 11:18:56 +0100 Message-ID: In-Reply-To: <20210908160152.3223-2-matthias.fischer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2212837510105918708==" List-Id: --===============2212837510105918708== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Reviewed-by: Michael Tremer > On 8 Sep 2021, at 17:01, Matthias Fischer w= rote: >=20 > Since the maximum number of filedescriptors which are possible for 'squid 5= .1' > are now 32768, I modified the initscript accordingly. >=20 > Signed-off-by: Matthias Fischer > --- > src/initscripts/system/squid | 1 + > 1 file changed, 1 insertion(+) >=20 > 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() { >=20 > case "$1" in > start) > + ulimit -n 32768 > getpids "squid" >=20 > if [ -n "${pidlist}" ]; then > --=20 > 2.18.0 >=20 --===============2212837510105918708==--