Apache::BumpyLife - mod_perl 1.x module for setting random value to MaxRequestsPerChild.
# httpd.conf PerlModule Apache::BumpyLife <Perl> Apache::BumpyLife->set_max_requests_per_child_max(100); Apache::BumpyLife->set_max_requests_per_child_min(80); </Perl> PerlCleanupHandler Apache::BumpyLife
******************************** NOIICE *******************
This version is only for httpd 1.3.x and mod_perl 1.x series. For httpd 2.x / mod_perl 2.x, you can use mod_bumpy_life by hirose-san https://github.com/hirose31/ap-mod_bumpy_life
Apache::BumpyLife is httpd 1.3.x and mod_perl 1.x module for setting random value to MaxRequestsPerChild within min and max.
This module can moderate the load when many child process is switched to new one at once.
Apache::BumpyLife->set_max_requests_per_child_max
This sets the maximum requests per child process. It's ignored if sets over MaxRequestsPerChild,
Apache::BumpyLife->set_max_requests_per_child_min
This sets the minimum requests per child process. It's ignored if sets over MaxRequestsPerChild,
Masahiro Nagano <kazeburo {at} gmail.com>
Apache::SizeLimit
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Apache::BumpyLife, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache::BumpyLife
CPAN shell
perl -MCPAN -e shell install Apache::BumpyLife
For more information on module installation, please visit the detailed CPAN module installation guide.