From owner-freebsd-questions Thu Aug 23 12:47:37 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.reptiles.org (mail.reptiles.org [198.96.117.157]) by hub.freebsd.org (Postfix) with ESMTP id 3F3B937B408; Thu, 23 Aug 2001 12:47:31 -0700 (PDT) (envelope-from jim@reptiles.org) Received: from localhost (1575 bytes) by mail.reptiles.org via sendmail with P:stdio/R:bind_hosts/T:inet_zone_bind_smtp (sender: ) (ident using unix) id for ; Thu, 23 Aug 2001 15:50:27 -0400 (EDT) (Smail-3.2.0.111 2000-Feb-17 #2 built 2001-Apr-13) Date: Thu, 23 Aug 2001 15:50:27 -0400 From: Jim Mercer To: Mike Silbersack 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> References: <20010823153250.H10630@reptiles.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from silby@silby.com on Thu, Aug 23, 2001 at 03:43:27PM -0400 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, 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