From owner-freebsd-isp Thu May 14 08:51:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA22424 for freebsd-isp-outgoing; Thu, 14 May 1998 08:51:39 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from shell.futuresouth.com (shell.futuresouth.com [198.78.58.18]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA22418 for ; Thu, 14 May 1998 08:51:37 -0700 (PDT) (envelope-from tim@shell.futuresouth.com) Received: (from tim@localhost) by shell.futuresouth.com (8.8.8/8.8.8) id KAA15624; Thu, 14 May 1998 10:51:38 -0500 (CDT) Message-ID: <19980514105137.55535@futuresouth.com> Date: Thu, 14 May 1998 10:51:37 -0500 From: Tim Tsai To: isp@FreeBSD.ORG Subject: Re: how many virtual www server on a 2.2.6 PPro machine ? References: <199805140705.AAA01835@idiom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: ; from Daniel O'Callaghan on Thu, May 14, 1998 at 09:26:53PM +1000 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > I've run about 300 on my system. A PPro 180, 192MB (at the time). > > > > I carefully made sure there were enough file descriptors. There was > > one serious problem though: bind 4.9.* could not handle more than > > about 256 interfaces! I had to do an emergency upgrade to bind > > 8.1.1. > > Or don't run BIND on the WWW machine. 4.9.* works just fine with more than 256 interfaces. There is a compile time constant you have to tweak. FreeBSD by default has a constant (it's in one of the header files) that limits to 256 file descriptors. If you compile bind with a larger descriptor it works fine. Took me a few hours to track that one down in the debugger. One of our clients has a lot of scripts that depends on 4.9's config. file syntax so 8.x wasn't an option at the time. Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message