Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Aug 2001 15:43:27 -0400 (EDT)
From:      Mike Silbersack <silby@silby.com>
To:        Jim Mercer <jim@reptiles.org>
Cc:        <freebsd-hackers@freebsd.org>, <freebsd-questions@freebsd.org>
Subject:   Re: totally weirdass problem, Squid-2.3-4 and FreeBSD
Message-ID:  <Pine.BSF.4.30.0108231542080.29579-100000@niwun.pair.com>
In-Reply-To: <20010823153250.H10630@reptiles.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Thu, 23 Aug 2001, Jim Mercer wrote:

>
> [ i'm not on hackers or questions lists, so a Cc: would be appreciated on any
>   replies ]
>
> i have a squid server in pakistan that is exhibiting some really, really screwy
> behaviour.
>
> firstly, it is running FreeBSD 4.x-stable (circa Feb 2001)
>
> secondly it is running squid-2.3 stable4
>
> when we initially set it up, we found that the default kernel maxfiles of
> 2088 was inadequate.
>
> using sysctl (/etc/sysctl.conf) we bumped it (and procmaxfile) up to 10000.
>
> squid didn't seem to find the 10000 after this, only 2088.

maxfiles != maxsockets.  You'll need to actually up maxusers to see a
change.  So, either recompile the kernel with maxusers higher, or upgrade
to 4.4-rc where it's a loader tuneable option.

Mike "Silby" Silbersack


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.30.0108231542080.29579-100000>