Re: On memory consumption - request for comments

Fred Moyer <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
2011/2/11 Torsten Förtsch <[email protected]>:
> On Friday, February 11, 2011 17:20:07 Perrin Harkins wrote:
>> These days I like to use a reasonable MaxRequestsPerChild
>
> same here. I try to figure out the worst case before going life. Then
> MaxClients can be set accordingly. Plus a reasonable MaxRequestsPerChild and
> you are done.
>
> Also, these days RAM is not the bottleneck as it was 10 years ago. In a
> project I had a 8GB box that hit the CPU limit at 250 active parallel
> requests. But it used only slightly more than half of the RAM.

I don't think there is a danger of running into swap with today's
environments, so I wondered about why Sizelimit deals with swap
metrics.  If you do run into swap with a box with 8 gigs of ram, swap
will probably not save you, as you'll be swapping out large processes.
 I keep my MaxRequestsPerChild low also, but also like to use
SizeLimit to cap the maximum process size.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.