[libfcgi-procmanager-perl] 01/01: Version 0.24

Florian Schlichting fsfs at moszumanska.debian.org
Mon Sep 18 21:29:24 UTC 2017


This is an automated email from the git hooks/post-receive script.

fsfs pushed a commit to annotated tag 0.24
in repository libfcgi-procmanager-perl.

commit 5ef2d8bb0bb4182e1f196e05e86a175052a2bfa8
Author: Tomas Doran <bobtfish at bobtfish.net>
Date:   Tue Oct 4 08:26:26 2011 +0100

    Version 0.24
---
 ChangeLog                           |  6 ++++++
 lib/FCGI/ProcManager.pm             |  2 +-
 lib/FCGI/ProcManager/Constrained.pm | 21 +++++++++++++++++++++
 3 files changed, 28 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 112bd79..745f7c3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+0.24 2011-10-04 Tomas Doran  <bobtfish at 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 at bobtfish.net>
     * Fix pm_wait routine to exit without a warning
     * Fix pm_wait to correctly detect child processes which have died.
diff --git a/lib/FCGI/ProcManager.pm b/lib/FCGI/ProcManager.pm
index 868d1be..e24683a 100644
--- a/lib/FCGI/ProcManager.pm
+++ b/lib/FCGI/ProcManager.pm
@@ -335,7 +335,7 @@ sub pm_wait {
   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
diff --git a/lib/FCGI/ProcManager/Constrained.pm b/lib/FCGI/ProcManager/Constrained.pm
index 5423b68..7b30a31 100644
--- a/lib/FCGI/ProcManager/Constrained.pm
+++ b/lib/FCGI/ProcManager/Constrained.pm
@@ -204,3 +204,24 @@ sub _linux_getppid { return Linux::Pid::getppid() }
 
 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
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libfcgi-procmanager-perl.git



More information about the Pkg-perl-cvs-commits mailing list