+0.24 2011-10-04 Tomas Doran <bobtfish@bobtfish.net>
+ * Further fix to pm_wait routine to find the correct PID and remove it
+ (fixing logical error introduced in the last release), noted by Vadim
+ Dashkevich
+ * Document (somewhat) FCGI::ProcManager::Constrainted
+
0.23 2011-09-27 Tomas Doran <bobtfish@bobtfish.net>
* Fix pm_wait routine to exit without a warning
* Fix pm_wait to correctly detect child processes which have died.
my ($this) = self_or_default(@_);
# wait for the next server to die.
- return if (my $pid = wait() < 0);
+ return if ((my $pid = wait()) < 0);
# notify when one of our servers have died.
delete $this->{PIDS}->{$pid} and
1;
+=head1 NAME
+
+FCGI::ProcManager::Constrained - Process manager with constraints
+
+=head1 SYNOPSIS
+
+ $ENV{PM_MAX_REQUESTS} = 1000;
+ $ENV{PM_SIZECHECK_NUM_REQUESTS} = 10;
+ $ENV{PM_MAX_SIZE} = 4096;
+
+=head1 DESCRIPTION
+
+Subclass of L<FCGI::ProcManager> which adds checks for memory limits
+like L<Apache::SizeLimit>.
+
+=head1 AUTHORS, COPYRIGHT AND LICENSE
+
+See L<FCGI::ProcManager>.
+
+=cut
+