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

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 23, 2001 at 03:43:27PM -0400, Mike Silbersack wrote:
> > 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.

it isn't a sockets problem.

upping maxfiles solves the problem, but it seems to reset when the system is
rebooted. (at least as far as squid is concerned)

-- 
[ Jim Mercer        jim@reptiles.org         +1 416 410-5633 ]
[ Now with more and longer words for your reading enjoyment. ]

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?20010823155027.K10630>