From owner-freebsd-isp Thu May 14 00:20:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA25337 for freebsd-isp-outgoing; Thu, 14 May 1998 00:20:08 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from news1.gtn.com (news1.gtn.com [194.77.0.15]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA25331 for ; Thu, 14 May 1998 00:20:03 -0700 (PDT) (envelope-from andreas@klemm.gtn.com) Received: (from uucp@localhost) by news1.gtn.com (8.8.6/8.8.6) with UUCP id JAA07447; Thu, 14 May 1998 09:00:18 +0200 (MET DST) Received: (from andreas@localhost) by klemm.gtn.com (8.8.8/8.8.8) id IAA04100; Thu, 14 May 1998 08:47:14 +0200 (CEST) (envelope-from andreas) Message-ID: <19980514084713.C3413@klemm.gtn.com> Date: Thu, 14 May 1998 08:47:13 +0200 From: Andreas Klemm To: "Daniel O'Callaghan" Cc: isp@FreeBSD.ORG Subject: Re: how many virtual www server on a 2.2.6 PPro machine ? References: <19980513210347.A12724@klemm.gtn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: ; from Daniel O'Callaghan on Thu, May 14, 1998 at 09:08:34AM +1000 X-Disclaimer: A free society is one where it is safe to be unpopular X-Operating-System: FreeBSD 3.0-CURRENT SMP Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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