From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: squid 5.1 gone stable Date: Fri, 13 Aug 2021 10:22:42 +0100 Message-ID: <62C9CD14-83E1-40D9-AFDB-64687590DD5B@ipfire.org> In-Reply-To: <90410d8f-9b80-1129-7cd7-3652d2951e1d@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6573568886444507410==" List-Id: --===============6573568886444507410== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, > On 7 Aug 2021, at 17:13, Matthias Fischer w= rote: >=20 > Hi, >=20 > ...for the records...: ;-) >=20 > Today I tested building 'squid 5.1' with our usual configure options: >=20 > ... > --with-dl \ > --with-filedescriptors=3D$(( 16384 * 64 )) \ > --with-large-files \ > --without-gnutls \ > ... >=20 > No errors in '_build.ipfire.log' for this 'squid' - except: >=20 > ... > checking for library containing log... none required > configure: forcing default of 1048576 filedescriptors (user-forced) > checking Default FD_SETSIZE value... 1024 > checking for getrlimit... yes > checking for setrlimit... yes > checking Maximum number of filedescriptors we can open... 32768 > configure: Default number of filedescriptors: 1048576 > ... >=20 > So the maximum number of filedescriptors which are possible for 'squid > 5.1' are 32768!? >=20 > Ok then. I rebuilt the whole thing with the "maximum": >=20 > ... > --with-filedescriptors=3D32768 \ > ... >=20 > But no change. During starting, 'squid 5.1.' still complains: > ... > NOTICE: Could not increase the number of filedescriptors > With 4096 file descriptors available > ... >=20 > This is the value reported by 'ulimit -n' on my IPFire / Core 158. >=20 > Currently, only 'squid 4.16' can increase this number under *exactly* > the same environment. >=20 > What consequences could it have, respectively!? This is the maximum amount of connections squid can open. I suppose this is enough and I can live with 32k. We should remove the field = from the UI then. -Michael >=20 > Best, > Matthias --===============6573568886444507410==--