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