Main Stories
Slash Boxes

Slash Open Source Project

Slashcode Log In

Log In

[ Create a new account ]

Limiting The Size Of Apache Children

posted by Krow on 07:16 AM April 23rd, 2001   Printer-friendly   Email story
I just noticed that someone submitted this as a bug to SourceForge and I remember that someone else once asked about this on the mailing lists.
So you are finding with Bender that over time your caches are growing large and that they become larger then what you want them to. Instead of worrying about Maxrequests per httpd child, worry about the memory footprint of the httpd child. There is a CPAN module you can install called Apache::SizeLimit that you can use to restrict the size of your Apache processes. Just be careful to not set this to low. If you do you will cause Apache to constantly fork off new children.
If you are interested in keeping an eye on this yourself, look at using the module Apache::VMonitor.
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login
Loading... please wait.
  • by Anonymous Coward
    Just wondering if you could give me some suggestions on setting up Apache::SizeLimit for Bender? I'm still pretty much a newbie, and the stuff I've found on the web aren't that straightforward. mentioning that I have to install in startup.pl? ...