Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 May 1998 09:08:34 +1000 (EST)
From:      "Daniel O'Callaghan" <danny@panda.hilink.com.au>
To:        Andreas Klemm <andreas@klemm.gtn.com>
Cc:        isp@FreeBSD.ORG
Subject:   Re: how many virtual www server on a 2.2.6 PPro machine ?
Message-ID:  <Pine.BSF.3.91.980514090221.411J-100000@panda.hilink.com.au>
In-Reply-To: <19980513210347.A12724@klemm.gtn.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Wed, 13 May 1998, Andreas Klemm wrote:

> What do you think, if I want to put as many virtual webservers
> as possible onto one FreeBSD (2.2.6) Machine (PPro 200, 128 MB)
> ... how many would that be ?
> 
> Currently a Linux DLD 5.1 chokes on over 120 virtual webservers.
Weird.  It shouldn't choke on that.

> The max number of IP aliases is 255 I think per network card.
> If I would like to configure 240 ... would that run or
> do you see problems ? I'd try that if you don't know.

If you are going to put lots of webservers on a machine, alias the IPs 
onto lo0 and treat the ethernet interface as the gateway for other 
machines to send packets to VWS network.  My webserver 203.29.224.19 
(de0) has all of 203.8.13.0 and half of 203.8.12.0 on lo0.  My router has 
the equivalent of 

  route add -net 203.8.12.0 -netmask 0xffffff80 203.29.224.19
  route add -net 203.8.13.0 203.29.224.19

Basically, there is no limit to the number of IPs you can put on a 
machine.  5000 was tested once..

> What about the maximum number of open files ?

You should build with something like MAXUSERS=256, OPENMAX=1024 and 
something reasonable for CHILDMAX.

Hmm, I really should write a Handbook section on this...

regards,

Danny

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?Pine.BSF.3.91.980514090221.411J-100000>