NAME

Apache::BumpyLife - mod_perl 1.x module for setting random value to MaxRequestsPerChild.

SYNOPSIS

# 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

DESCRIPTION

******************************** 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

******************************** NOIICE *******************

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.

API

  • 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,

AUTHOR

Masahiro Nagano <kazeburo {at} gmail.com>

SEE ALSO

Apache::SizeLimit

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.