From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?M=C3=BCller?= <peter.mueller@ipfire.org> To: development@lists.ipfire.org Subject: Re: [PATCH 2/2] squid 5.1: set max number of filedesriptors to 32768 Date: Thu, 09 Sep 2021 22:28:23 +0200 Message-ID: <e34b7fec-d1bb-291e-4381-c51133492a7d@ipfire.org> In-Reply-To: <20210908160152.3223-2-matthias.fischer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5745598360061493954==" List-Id: <development.lists.ipfire.org> --===============5745598360061493954== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Acked-by: Peter M=C3=BCller <peter.mueller(a)ipfire.org> > 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 <matthias.fischer(a)ipfire.org> > --- > 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 --===============5745598360061493954==--