public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Michael Tremer <michael.tremer@ipfire.org>
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	[thread overview]
Message-ID: <F55BCEA0-8CEA-4E7B-97E7-35FA45878134@ipfire.org> (raw)
In-Reply-To: <20210908160152.3223-2-matthias.fischer@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 803 bytes --]

Reviewed-by: Michael Tremer <michael.tremer(a)ipfire.org>

> On 8 Sep 2021, at 17:01, Matthias Fischer <matthias.fischer(a)ipfire.org> wrote:
> 
> 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
> 


  parent reply	other threads:[~2021-09-21 10:18 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 ` [PATCH 2/2] squid 5.1: set max number of filedesriptors to 32768 Matthias Fischer
2021-09-09 20:28   ` Peter Müller
2021-09-21 10:18   ` Michael Tremer [this message]
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=F55BCEA0-8CEA-4E7B-97E7-35FA45878134@ipfire.org \
    --to=michael.tremer@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