Date: Wed, 27 May 1998 09:17:56 +0100 From: Karl Pielorz <kpielorz@tdx.co.uk> To: Dan Roberts <droberts@gwis.com> Cc: freebsd-isp@FreeBSD.ORG Subject: Re: apache/freebsd limits on vhost servers Message-ID: <356BCC34.7FA479DF@tdx.co.uk> References: <Pine.BSI.3.95.980526233330.23792j-100000@gwis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Dan Roberts wrote: > > I'm putting together a new machine to serve vhost websites.. I want to > check if there are any limits on the number of sites that can be hosted on > one machine that would be imposed by number of virtual network interfaces > or virtualhost directives in apache config. (or anything else for that > matter) > > Anything anyone aware of? I don't see anything obvious in any > documentation I've read, but I want to be sure before we commit our > customers to this new machine. > > Thanks. You should be OK with a couple of hundred - the real killer is when you get apache to write the log files for each virtual host to seperate files... This eats up file-descriptors... To get more you can recompile the kernel with 'MAX_USERS' set really high (i.e. 256) On a friends system (which is also helishly busy) we had to do a few patches to increase the number of file descriptors manually - and recompile libc (Hi system was running 2.2.2 - you may not need to do this)... Apache.org has details of quite a few of the problems you might run into... If your just starting out - try looking at Apache 1.3b6 (Release candidate #1 for 1.3) - It can now easily handle 'named' virtual servers - which means you won't eat up IP address space, and can probably handle greater numbers of servers... (On the downside it's a bit messy for non HTTP 1.1 compliant browsers) Regards, Karl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?356BCC34.7FA479DF>