Message ID | 20210908160152.3223-2-matthias.fischer@ipfire.org |
---|---|
State | Accepted |
Commit | 96b9c63b571e64a6d0660af378e49af586853542 |
Headers |
Return-Path: <development-bounces@lists.ipfire.org> Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4H4Rj76rGKz3x2Y for <patchwork@web04.haj.ipfire.org>; Wed, 8 Sep 2021 16:02:03 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4H4Rj50MNHz6f2; Wed, 8 Sep 2021 16:02:01 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4H4Rj45f1Pz2yyc; Wed, 8 Sep 2021 16:02:00 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4H4Rj26X3mz2xYj for <development@lists.ipfire.org>; Wed, 8 Sep 2021 16:01:58 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4H4Rj254Jxz6XR for <development@lists.ipfire.org>; Wed, 8 Sep 2021 16:01:58 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1631116918; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:in-reply-to:in-reply-to:references:references; bh=xvXM/I2Wc/482sj7/Ub5ShDC0xdrLs2/uo26b8tnFIk=; b=/guP9nYHJwHTbk2kUASQgtTnq1uHLnGsGiNOtBNTLGoSY/N6t0hHjmG6iJ8fFG7TQ6FAxI G1xYqRQhRVe0fHCA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1631116918; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:in-reply-to:in-reply-to:references:references; bh=xvXM/I2Wc/482sj7/Ub5ShDC0xdrLs2/uo26b8tnFIk=; b=rtWyZuLX26lx+B7pGnG+8GObgxieN61/vAy8mJrS6Uf+Rn0XQo9zO09c/8IYeYEYuTxEFW 4N401E3n4L6eY2a3gaOMXeohuXRyJLiU0TrnoOD7C5UlI9u7AJrlEetvqlZgecYN22Te3k f1S8FjC5clrbus3W6OPyelrsFBONiSvdurjVjriIq5mHoztwSwWK9LTKmVTMvzIosTFjNq o0ULuUFchpSVc5YcQVByKiG8H9SDvtV/CCXS3QJDoKxGt2Y0QaOpId/yYm9ITfxPcAmKlr Jooj5rmJfb/tqzHnEOivmWcBCtY1/9Gbg6tOgUzN5NvPOoaUyh7DMeWDIk/uKA== 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, 8 Sep 2021 18:01:52 +0200 Message-Id: <20210908160152.3223-2-matthias.fischer@ipfire.org> In-Reply-To: <20210908160152.3223-1-matthias.fischer@ipfire.org> References: <20210908160152.3223-1-matthias.fischer@ipfire.org> X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk <development.lists.ipfire.org> List-Unsubscribe: <https://lists.ipfire.org/mailman/options/development>, <mailto:development-request@lists.ipfire.org?subject=unsubscribe> List-Archive: <http://lists.ipfire.org/pipermail/development/> List-Post: <mailto:development@lists.ipfire.org> List-Help: <mailto:development-request@lists.ipfire.org?subject=help> List-Subscribe: <https://lists.ipfire.org/mailman/listinfo/development>, <mailto:development-request@lists.ipfire.org?subject=subscribe> Errors-To: development-bounces@lists.ipfire.org Sender: "Development" <development-bounces@lists.ipfire.org> |
Series |
[1/2] squid: Update to 5.1
|
|
Commit Message
Matthias Fischer
Sept. 8, 2021, 4:01 p.m. UTC
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@ipfire.org>
---
src/initscripts/system/squid | 1 +
1 file changed, 1 insertion(+)
Comments
Acked-by: Peter Müller <peter.mueller@ipfire.org> > 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@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 >
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org> > On 8 Sep 2021, at 17:01, Matthias Fischer <matthias.fischer@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@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 >
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