From: Matthias Fischer <matthias.fischer@ipfire.org>
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 [thread overview]
Message-ID: <20210908160152.3223-2-matthias.fischer@ipfire.org> (raw)
In-Reply-To: <20210908160152.3223-1-matthias.fischer@ipfire.org>
[-- Attachment #1: Type: text/plain, Size: 591 bytes --]
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 <matthias.fischer(a)ipfire.org>
---
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
next prev parent reply other threads:[~2021-09-08 16:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-08 16:01 [PATCH 1/2] squid: Update to 5.1 Matthias Fischer
2021-09-08 16:01 ` Matthias Fischer [this message]
2021-09-09 20:28 ` [PATCH 2/2] squid 5.1: set max number of filedesriptors to 32768 Peter Müller
2021-09-21 10:18 ` Michael Tremer
2021-09-09 20:27 ` [PATCH 1/2] squid: Update to 5.1 Peter Müller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210908160152.3223-2-matthias.fischer@ipfire.org \
--to=matthias.fischer@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox