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

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 14, 1998 at 09:08:34AM +1000, Daniel O'Callaghan wrote:
> 
> 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.

Thanks !

-- 
Andreas Klemm                                http://www.FreeBSD.ORG/~andreas
     What gives you 90% more speed, for example, in kernel compilation ?
          http://www.FreeBSD.ORG/~fsmp/SMP/akgraph-a/graph1.html
             "NT = Not Today" (Maggie Biggs)      ``powered by FreeBSD SMP''

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?19980514084713.C3413>