]> git.ipfire.org Git - people/mfischer/ipfire-2.x.git/commitdiff
squid 5.1: set max number of filedesriptors to 32768
authorMatthias Fischer <matthias.fischer@ipfire.org>
Wed, 8 Sep 2021 16:01:52 +0000 (18:01 +0200)
committerPeter Müller <peter.mueller@ipfire.org>
Fri, 14 Jan 2022 13:58:31 +0000 (13:58 +0000)
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>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
src/initscripts/system/squid

index 7255c0aca03d5c8db21a61725cc872e76556054b..09e7a044334c57c9abc8ca9579fdacb8c6c8e137 100644 (file)
@@ -48,6 +48,7 @@ transparent() {
 
 case "$1" in
        start)
+               ulimit -n 32768
                getpids "squid"
 
                if [ -n "${pidlist}" ]; then