Date: Wed, 12 Mar 1997 23:40:44 -0800 From: Don Lewis <Don.Lewis@tsc.tdk.com> To: "David Langford" <langfod@dihelix.com>, sysop@mixcom.com (Jeffrey J. Mountin) Cc: questions@FreeBSD.ORG, isp@FreeBSD.ORG Subject: Re: problem with over 133 virutal domains with apache on 2.1.7 Message-ID: <199703130740.XAA28450@salsa.gv.tsc.tdk.com> In-Reply-To: "David Langford" <langfod@dihelix.com> "Re: problem with over 133 virutal domains with apache on 2.1.7" (Mar 12, 8:17pm)
next in thread | previous in thread | raw e-mail | index | archive | help
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=<something bigger than the default 256> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703130740.XAA28450>