From owner-freebsd-isp Wed May 27 01:18:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA01383 for freebsd-isp-outgoing; Wed, 27 May 1998 01:18:31 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from caladan.tdx.co.uk (caladan.tdx.co.uk [195.188.177.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA01291 for ; Wed, 27 May 1998 01:18:03 -0700 (PDT) (envelope-from kpielorz@tdx.co.uk) Received: from tdx.co.uk (lorca-tx.tdx.co.uk [195.188.177.242]) by caladan.tdx.co.uk (8.8.8/8.8.8) with ESMTP id JAA05322; Wed, 27 May 1998 09:17:56 +0100 (BST) (envelope-from kpielorz@tdx.co.uk) Message-ID: <356BCC34.7FA479DF@tdx.co.uk> Date: Wed, 27 May 1998 09:17:56 +0100 From: Karl Pielorz Organization: TDX X-Mailer: Mozilla 4.05 [en] (WinNT; I) MIME-Version: 1.0 To: Dan Roberts CC: freebsd-isp@FreeBSD.ORG Subject: Re: apache/freebsd limits on vhost servers References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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