How big are your Apache kids?
Hi, I recently managed to get the RAM consumption of my server under control. It had nothing to do with mod_perl ... the culprit was my ISP's config script loading in *tons* of extra modules conditionally. Three versions of mod_php + mod_python all helped to contribute to turn the Apache children into 100 Meg monsters! So a quick: ps -aux | grep httpd, shows RAM closer to 20M: root 29354 0.0 1.5 20064 16488 ? S13:48 0:02 /usr/sbin/httpd - apache 30549 0.6 1.8 22128 18628 ? S14:27 0:00 [httpd] apache 30561 1.2 1.9 23628 20240 ? S14:27 0:01 [httpd] apache 30571 0.6 1.8 22056 18572 ? S14:28 0:00 [httpd] apache 30578 0.8 1.7 21736 18284 ? S14:28 0:00 [httpd] Now I'm wondering how much more RAM I can save? Does anyone have a really lean and mean mod_perl, Apache configuration ... if so, how big are your Apache children? NIge -- Nigel Hamilton Turbo10 Metasearch Engine email: [EMAIL PROTECTED] tel:+44 (0) 207 987 5460 fax:+44 (0) 207 987 5468 http://turbo10.com Search Deeper. Browse Faster.
Re: How big are your Apache kids?
Hi there, On Mon, 30 Jun 2003, Nigel Hamilton wrote: I recently managed to get the RAM consumption of my server under control. :) Does anyone have a really lean and mean mod_perl, Apache configuration On the face of it 20Mb looks a bit heavy for mod_perl processes. But it depends so much on what you're doing with them that it really makes no sense to generalize, except for things you already know like not loading modules you don't need. You've probably already checked the tuning section of the Guide for tips, and trawled through the archives for discussions on the subject (of which there have been many:). If you can consider a proxy setup it may be that you can trade off complexity in your configuration against your RAM consumption, but first I'd be asking is it necessary? Only you can answer that one, and in any case RAM is a lot cheaper than software development. 73, Ged.
Re: How big are your Apache kids?
On Mon, 2003-06-30 at 15:44, Nigel Hamilton wrote: Now I'm wondering how much more RAM I can save? The only thing you need to be concerned about is the amount of unshared memory in each process. If you don't know what I mean, read the tuning section in the docs. This is also covered in the new Practical mod_perl book from O'Reilly. - Perrin