Created attachment 26325 [details] prevent apache from crashing Apache is crashing during graceful restart installed as service or in console. How to reproduce: Start Apache Browse a php page, simple phpinfo() works reload page once or twice restart Apache right after the reload Apache will error on restart, show as being stopped in the services window, and two messages in the event log 1. Cannot open logs 2. Cannot open port while in use At this time, even tho Apache is stopped, the hanging child will still answer requests till the child dies. Till it dies you will see the one child in the process list. Apache 2.2.17 with mod_fcgid 2.3.6 The error appears also in Apache 2.3.8 with mod_fcgid 2.3.6
Created attachment 26326 [details] Fix crashing on windows
Created attachment 26332 [details] Fix crashing on windows Fixed VC6 build
Attention to Bug report 51078, patch there addresses same issue.
http://www.mail-archive.com/mod-fcgid-users@lists.sourceforge.net/msg00223.html after reading the analysis as a fcgid laymen, why is there a dup process manager in the parent if it doesn't do any work? Why not skip it altogether?
Created attachment 27981 [details] Also on linux Since Apache 2.3.15 I had the same issue on Ubuntu 8.04 with worker mpm. The server only sends a 200 ok response header and nothing more. Removing the apr_pool_destroy(proc->proc_pool); in fcgid_pm_main.c fixes that. Since mod_fcgid will be in apache 2.4 it would be great of have that fixed.
Created attachment 27982 [details] Fix for WIndows and linux
Patch applied, targets 2.3.7. Thanks!
Hi there, how do i apply this patch, please help