From owner-freebsd-questions Sun Mar 16 14:00:26 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA21930 for questions-outgoing; Sun, 16 Mar 1997 14:00:26 -0800 (PST) Received: from beach.silcom.com (beach.silcom.com [199.201.128.19]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id OAA21921; Sun, 16 Mar 1997 14:00:17 -0800 (PST) Received: by beach.silcom.com (940816.SGI.8.6.9/SMI-4.1) id NAA24583; Sun, 16 Mar 1997 13:58:44 -0800 Message-ID: <19970316135843.32663@beach.silcom.com> Date: Sun, 16 Mar 1997 13:58:43 -0800 From: David Carmean To: Brian Tao Cc: David Langford , questions@FreeBSD.ORG, isp@FreeBSD.ORG Subject: Re: problem with over 133 virutal domains with apache on 2.1.7 References: <199703122013.KAA11741@caliban.dihelix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.65 In-Reply-To: ; from Brian Tao on Sun, Mar 16, 1997 at 03:58:32PM -0500 Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, Mar 16, 1997 at 03:58:32PM -0500, Brian Tao wrote: > On Wed, 12 Mar 1997, David Langford wrote: > > > > When I add my 134'th virtual domain to apache it says it can no > > longer figure out its hostname and wants me to set ServerName > > You are probably running out of file descriptors (defaults to > FD_SETSIZE=256 per process) because you have separate access and error > logs for each virtual domain. You'll probably have to rebuild your > kernel with FD_SETSIZE=1024 (or whatever) and recompile Apache with > that value as well. I chose to write to a single set of logfiles, and parse out separate logs only for customers who require them. I also left DNS lookups turned off in the server, and had the post-processing scripts look up hostnames for only customers who required these as well, and the script also caches a few thousand lookups to speed things up. -- David Carmean Avtel Communications, Santa Barbara, CA +1-805-730-7740 Opinions herein are those of the author only, unless otherwise noted