Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 May 1998 22:04:01 +0200
From:      "IBS / Andre Oppermann" <andre@pipeline.ch>
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:  <3559FCB1.C2722594@pipeline.ch>
References:  <19980513210347.A12724@klemm.gtn.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Andreas Klemm wrote:
> 
> Hi !
> 
> 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 ?

Lots...

> Currently a Linux DLD 5.1 chokes on over 120 virtual webservers.
> Every virtual webserver has it's own log an error logfile.

Just compile with enough MAXUSERS and modify the login class
to allow all the open files.

> I know, that most people only put about 40 or so virtual
> webservers onto one machine, but the virtual webservers
> aren't heavy loaded ...

We are running with 128 or so, no problem so far (with apache).
I've set up one apache daemon for every 32 virtual servers in the
case one fails and to have not too many open files per process.
The box works like a champ (only P5-133) due to the superior
VM/task sheduler of FreeBSD.

> 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.

I've seen a mail on that subject sometime last year. It said
there should be 'no limit' and he tried it with over 300 (if my
memory did'nt fail). One suggestion was to alias your loopback
interface with all that ip's and put a static route on your
router that points to the whole class-c on your box. This avoids
all the ARP entries on your ethernet (and I think the arp tables
are not very huge).

> What about the maximum number of open files ?

See above.

>         Andreas ///

-- 
Andre Oppermann

CEO / Geschaeftsfuehrer
Internet Business Solutions Ltd. (AG)
Hardstrasse 235, 8005 Zurich, Switzerland
Fon +41 1 277 75 75 / Fax +41 1 277 75 77
http://www.pipeline.ch    ibs@pipeline.ch

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?3559FCB1.C2722594>