From owner-freebsd-questions Fri Mar 21 11:52:19 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA08688 for questions-outgoing; Fri, 21 Mar 1997 11:52:19 -0800 (PST) Received: from mixcom.mixcom.com (mixcom.mixcom.com [198.137.186.100]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id LAA08670; Fri, 21 Mar 1997 11:52:16 -0800 (PST) Received: by mixcom.mixcom.com (8.6.12/2.2) id NAA22612; Fri, 21 Mar 1997 13:52:30 -0600 Received: from p75.mixcom.com(198.137.186.25) by mixcom.mixcom.com via smap (V1.3) id sma022540; Fri Mar 21 19:52:10 1997 Message-Id: <3.0.32.19970321133811.00cba93c@mixcom.com> X-Sender: sysop@mixcom.com X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Fri, 21 Mar 1997 13:46:53 -0600 To: Brian Tao From: "Jeffrey J. Mountin" Subject: Re: problem with over 133 virutal domains with apache on 2.1.7 Cc: questions@FreeBSD.ORG, isp@FreeBSD.ORG Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk At 03:58 PM 3/16/97 -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. You didn't mention the file. Is /sys/sys/types.h correct? I haven't run out yet, but there have been some problems when files are copied via an NFS mount. Have to rebuild and see if this was indeed the problem. This was something I was wondering about, but I don't think that FBSD has the kernel guide that BSDi does (/usr/share/doc/bsdi/config.ps). Any such creature? > Also, are you running named on that box? I think named by default >will try to bind to every IP address it finds (at least it did last I >checked with BIND 4.9.5). There is a patch for BIND that lets you >specify which IP's to listen on. I don't recommend running DNS on a server that is doing virtual web hosts. ------------------------------------------- Jeff Mountin - System/Network Administrator jeff@mixcom.net MIX Communications Serving the Internet since 1990