Re: apr_file_open
On Thu, Dec 25, 2014 at 2:08 AM, Alan Nilsson anils...@apple.com wrote: Do files opened with apr_file_open get closed as part of the pool clean up? alan yes -- Born in Roswell... married an alien... http://emptyhammock.com/
mod_fcgid kill all subprocesses in reload
Hi list, i like mod fcgid a lot but there's one bug which makes me crazy. On DSO unload (Apache reload ) all child's get killed no matter if they process requests or not. This makes no sense to me httpd processes itself are also kept until all requests are served. Stefan Excuse my typo sent from my mobile phone.
Re: mod_fcgid kill all subprocesses in reload
Sounds like it would perhaps be for the same reason as mod_wsgi has issues with that sort of thing. Only Apache child worker processes get special dispensation as far as graceful shutdowns or reloads are concerned. If instead a module creates additional processes using the other child API calls in APR: http://apr.apache.org/docs/apr/1.4/group__apr__thread__proc.html#gaf8d2be452a819161aa4cd6205a17761e then when a shutdown or restart occurs they get a hard 3 seconds to shutdown or they will be killed with SIGKILL. Up to that 3 seconds they will be sent a normal SIGTERM each second to try and get them to exit. Thus there is no facility to allow them to linger longer that I know of unless something has been added in more recent times. Graham On 26 December 2014 at 16:57, Stefan Priebe - Profihost AG s.pri...@profihost.ag wrote: Hi list, i like mod fcgid a lot but there's one bug which makes me crazy. On DSO unload (Apache reload ) all child's get killed no matter if they process requests or not. This makes no sense to me httpd processes itself are also kept until all requests are served. Stefan Excuse my typo sent from my mobile phone.