[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] httpd configuration on RaQ/RaQ2/RaQ3
- Subject: Re: [cobalt-users] httpd configuration on RaQ/RaQ2/RaQ3
- From: Chris Adams <cmadams@xxxxxxxxxx>
- Date: Wed Feb 9 20:42:59 2000
Once upon a time, Duncan Laurie <duncan@xxxxxxxxxx> said:
> If you set the StartServers at 60, and restart your web server you will run out
> of memory fast... on raq2 figure 6MB virtual memory usage (~1MB resident) per
> httpd process * 60 is 360MB total usage (or 60MB resident). Those numbers are
> higher for raq3 or any SSL enabled web server, and even higher if you add in
> things like mod_php or mod_perl.
Actually it isn't that bad. Under Linux, pages of RAM that are used for
code and read-only data are shared between all processes. Typically, on
a RaQ2 (I just checked a few here), I see only 200-400K per process plus
about 1500K shared between all the httpd processes. So, that 60 servers
would consume under 26M RAM.
Also, with Apache 1.2 and earlier versions, these numbers were highly
important. However, with Apache 1.3, they are not as important. The
alogrithms for starting and killing processes have been changed to be
better at adapting. I think all of the Cobalt products use 1.3.
--
Chris Adams <cmadams@xxxxxxxxxx>
Systems and Network Administrator - HiWAAY Information Services
I don't speak for anybody but myself - that's enough trouble.