From owner-freebsd-questions Thu Aug 23 12:43:36 2001 Delivered-To: freebsd-questions@freebsd.org Received: from niwun.pair.com (niwun.pair.com [209.68.2.70]) by hub.freebsd.org (Postfix) with SMTP id A831637B406 for ; Thu, 23 Aug 2001 12:43:28 -0700 (PDT) (envelope-from silby@silby.com) Received: (qmail 63312 invoked by uid 3193); 23 Aug 2001 19:43:27 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 23 Aug 2001 19:43:27 -0000 Date: Thu, 23 Aug 2001 15:43:27 -0400 (EDT) From: Mike Silbersack X-Sender: To: Jim Mercer Cc: , Subject: Re: totally weirdass problem, Squid-2.3-4 and FreeBSD In-Reply-To: <20010823153250.H10630@reptiles.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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