+0.17
+
+ * ProcManager.pm: Remove constraint that process can't change pid.
+ This resolves the daemon exiting after first child dies
+ if the process id of the daemon has changed since starting.
+ This commonly happens when a script waits to check for the
+ socket being available and working before forking and exitting.
+ It can also happen in a race condition of fork && exit when
+ the exit is delayed until after the forked child has already
+ spawned the fastcgi handlers.
+
2001-04-23 18:12 James Jurach <muaddib@erf.net>
* ProcManager.pm: SIGHUP handler now issues SIGTERM to children but
TODO
t/procmanager.t
t/exporter.t
+META.yml Module meta-data (added by MakeMaker)
--- /dev/null
+# http://module-build.sourceforge.net/META-spec.html
+#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
+name: FCGI-ProcManager
+version: 0.18
+version_from: ProcManager.pm
+installdirs: site
+requires:
+
+distribution_type: module
+generated_by: ExtUtils::MakeMaker version 6.30
use vars qw($VERSION @ISA @EXPORT_OK %EXPORT_TAGS $Q $SIG_CODEREF);
BEGIN {
- $VERSION = '0.17';
+ $VERSION = '0.18';
@ISA = qw(Exporter);
@EXPORT_OK = qw(pm_manage pm_die pm_wait
pm_write_pid_file pm_remove_pid_file
MANAGING_LOOP: while (1) {
- # if the calling process goes away, perform cleanup.
- getppid() == 1 and
- return $this->pm_die("calling process has died");
-
$this->n_processes() > 0 or
return $this->pm_die();
L<FCGI>.
+=head1 MAINTAINER
+
+Gareth Kirwan <gbjk@thermeon.com>
+
+=head1 AUTHOR
+
+James E Jurach Jr.
+
=head1 COPYRIGHT
FCGI-ProcManager - A Perl FCGI Process Manager
General Public License, Version 2.1, a copy of which can be
found in the "COPYING" file of this distribution.
+Maintainer
+------
+Gareth Kirwan <gbjk@thermeon.com>
+Author
+------
James Jurach <muaddib@erf.net>