Fix pm_wait
[catagits/FCGI-ProcManager.git] / ChangeLog
CommitLineData
fca7461e 10.23
2 * Fix pm_wait routine to exit without a warning
3 * Fix pm_wait to correctly detect child processes which have died.
4
24cf08e5 50.22 2011-08-04 Tomas Doran <bobtfish@bobtfish.net>
6 * Ship a version of FCGI::ProcManager::Constrainted which actually
7 works as advertised.
8
81d9a31b 90.21 2011-08-02 Tomas Doran <bobtfish@bobtfish.net>
10 * Ship a working dist.
11
8f6956a6 120.20 2011-08-02 Gareth Kirwan <gbjk@cpan.org>
3347bf0d 13 * ProcManager::Constrained: Add a new FCGI::ProcManager::Constrainted
14 subclass which will restart workers safely after a certain number of
15 requests, or at certain memory thresholds.
69817330 16 * ProcManager: Fix start_delay causing a permanent hang.
3347bf0d 17
356c720b 180.19 2009-07-22 Gareth Kirwan <gbjk@cpan.org>
19
20 * ProcManager.pm: Add a pm_title option to configure the process title
21 assigned to $0
22
230.18 2007-12-18 James Jurach <muaddib@erf.net>
24
25 * ProcManager.pm: Remove constraint that parent process cannot die.
26
9d643399 270.17
28
29 * ProcManager.pm: Remove constraint that process can't change pid.
30 This resolves the daemon exiting after first child dies
31 if the process id of the daemon has changed since starting.
32 This commonly happens when a script waits to check for the
33 socket being available and working before forking and exitting.
34 It can also happen in a race condition of fork && exit when
35 the exit is delayed until after the forked child has already
36 spawned the fastcgi handlers.
37
50f238cd 382001-04-23 18:12 James Jurach <muaddib@erf.net>
39
40 * ProcManager.pm: SIGHUP handler now issues SIGTERM to children but
41 then proceeds normally. added documentation blurb about signal
42 handling. we now use POSIX::sigaction() to avoid SA_RESTART during
43 certain regions. added re-usable POSIX::SigAction members to toggle
44 SA_RESTART. added sig_sub() -- necessary to pass name to
45 POSIX::SigAction creation.
46
47 * README: added small blurb to consult FCGI::ProcManager
48 documentation.
49
50 * t/exporter.t:
51 * t/procmanager.t: fixed pm_manage() test.
52
532001-03-13 18:12 James Jurach <muaddib@erf.net>
54
55 * ProcManager.pm: removed check for FCGI_ROLE. now more
56 transparent when undesired.
57
58 * ProcManager.pm: detect when no FastCGI environment exists.
59
60 * ProcManager.pm: only warn and sleep -- do not abort on fork
61 failure.
62
63 * ProcManager.pm: now, we give notification to which processes we
64 send a TERM signal.
65
c2bbadb3 662001-02-09 10:16 James Jurach <muaddib@erf.net>
67
68 * t/: exporter.t, procmanager.t: made it easier to manage
69 sample_request_loop() for testing.
70
71 * ProcManager.pm: modified some error messages. added immediate
72 notify of manager signal.
73
74 * ProcManager.pm: added more documentation. renamed
75 pm_reap_server() to pm_wait(). fixed problem when ! MANAGER_PID
76 that caused server to die immediately we now delete list of child
77 PIDs from each child. added mechanism to pm_exit() to send a
78 SIGKILL to any remaining children.
79
518709ed 802001-01-31 01:13 James Jurach <muaddib@erf.net>
81
82 * README: more documentation
83
84 * ProcManager.pm: re-organized method layout. separated manager
85 vs. server vs. common moved more intialization into managing_init()
86 and handling_init() created pm_die() to be called when manager
87 should die. cleaned up error messages and notifications.
88
89 * t/: exporter.t, procmanager.t: revised test messages
90
912001-01-30 16:35 James Jurach <muaddib@erf.net>
92
93 * t/: exporter.t, procmanager.t: removed call to pm_state()
94
95 * ProcManager.pm: removed sleep() call after testing
96 signal-during-fork-loop
97
982001-01-30 12:49 James Jurach <muaddib@erf.net>
99
100 * ProcManager.pm: Cleaned up pm_manage(). removed signal
101 registration routines. replaced by direct %SIG access. there is
102 now a manager signal handler and a handler signal handler. added
103 checks to die when getppid() changes.
104
1052001-01-20 02:06 James Jurach <muaddib@erf.net>
106
107 * MANIFEST: removed Changes from MANIFEST
108
1092001-01-13 00:44 James Jurach <muaddib@erf.net>
110
111 * t/procmanager.t: corrected various recent method name changes.
112 removed calls to want_to_die(). added request loop hooks to
113 pm_pre_dispatch(), pm_post_dispatch(). renamed sample_handler() to
114 sample_request_loop().
115
116 * ProcManager.pm: renamed request loop hooks to pm_pre_dispatch(),
117 pm_post_dispatch(). when pm_manage() is called with
118 n_processes==0, return through goto. renamed pre_manage_init() to
119 managing_init(). renamed post_manage_init() to handling_init().
120 added received_signal() to remember that a signal was received.
121 signal handler simpler: now only notes signal and propagates
122 signal.
123
124 * t/exporter.t: this uses non-OO calling mode.
125
126 * MANIFEST: added t/exporter.t.
127
128 * Changes: ChangeLog is where per-file changes are listed.
129
1302000-12-22 05:58 James Jurach <muaddib@erf.net>
131
132 * ProcManager.pm: corrected logic error in self_or_default().
133 changed all occurances of write_pid_file() to pm_write_pid_file().
134 changed all occurances of remove_pid_file() to
135 pm_remove_pid_file().
136
1372000-12-14 17:54 James Jurach <muaddib@erf.net>
138
139 * ProcManager.pm: corrected state() -> pm_state() method call.
140
1412000-12-10 17:25 James Jurach <muaddib@erf.net>
142
143 * ProcManager.pm: corrected some method renaming issues.
144
1452000-12-09 19:48 James Jurach <muaddib@erf.net>
146
147 * t/procmanager.t: effected the changes to these subroutine names.
148
149 * ProcManager.pm: made this module OO/Exporter hybrid. removed
150 treatment of $ENV{PROCMANAGER_PROCESSES} from constructor. changed
151 several subroutine names.
152
1532000-12-05 22:23 James Jurach <muaddib@erf.net>
154
155 * ProcManager.pm: made SIGHUP's do what SIGTERM's do
156
1572000-11-20 James Jurach <muaddib@erf.net>
158
159 * Released first public version.