From owner-freebsd-isp Wed Mar 12 23:40:59 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA11853 for isp-outgoing; Wed, 12 Mar 1997 23:40:59 -0800 (PST) Received: from gatekeeper.tsc.tdk.com (root@gatekeeper.tsc.tdk.com [207.113.159.21]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA11844; Wed, 12 Mar 1997 23:40:55 -0800 (PST) Received: from sunrise.gv.tsc.tdk.com (root@sunrise.gv.tsc.tdk.com [192.168.241.191]) by gatekeeper.tsc.tdk.com (8.8.4/8.8.4) with ESMTP id XAA10354; Wed, 12 Mar 1997 23:40:46 -0800 (PST) Received: from salsa.gv.tsc.tdk.com (salsa.gv.tsc.tdk.com [192.168.241.194]) by sunrise.gv.tsc.tdk.com (8.8.5/8.8.5) with ESMTP id XAA06032; Wed, 12 Mar 1997 23:40:45 -0800 (PST) Received: (from gdonl@localhost) by salsa.gv.tsc.tdk.com (8.8.5/8.8.5) id XAA28450; Wed, 12 Mar 1997 23:40:44 -0800 (PST) From: Don Lewis Message-Id: <199703130740.XAA28450@salsa.gv.tsc.tdk.com> Date: Wed, 12 Mar 1997 23:40:44 -0800 In-Reply-To: "David Langford" "Re: problem with over 133 virutal domains with apache on 2.1.7" (Mar 12, 8:17pm) X-Mailer: Mail User's Shell (7.2.6 alpha(3) 7/19/95) To: "David Langford" , sysop@mixcom.com (Jeffrey J. Mountin) Subject: Re: problem with over 133 virutal domains with apache on 2.1.7 Cc: questions@FreeBSD.ORG, isp@FreeBSD.ORG Sender: owner-isp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mar 12, 8:17pm, "David Langford" wrote: } Subject: Re: problem with over 133 virutal domains with apache on 2.1.7 } Jeffrey J. Mountin } >At 10:13 AM 3/12/97 -1000, David Langford wrote: } >> } >>I have a problem with apache and virual domains on 2.1.7. } >> } >>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 } > } >If you have not done so, edit /sys/sys/syslimits.h } > } >OPEN_MAX to 256 } >CHILD_MAX to 128 } > } >Max users 64 or 128 (doesn't matter much), but 128 squaks "> 64". } > } >Waiting to hear if anyone has exceeded these without any problems, } >especially the OPEN_MAX value. } >Pushed a server to 170 easily. 8-) } } I have MAXUSER set at 256 and I had OPEN_MAX set at 256. Still I get } the problem. I notice that setting the OPEN_MAX to 1024 didnt seem to do } a whole lot. Hmn, I bet you'll have to recompile apache with the flag -DFD_SETSIZE= otherwise select() won't be able to handle and fd's > 255 even though OPEN_MAX will allow them to be used. Hmn, you also have to compile a custom version of libresolv.a compiled with the same flag and statically link it in to your apache executable because the resolver also uses select(). --- Truck