Bug 47874 - mod_fcgid crashes if added during restart
mod_fcgid crashes if added during restart
Status: NEW
Product: Apache httpd-2
Classification: Unclassified
Component: mod_fcgid
PC Solaris
: P2 normal (vote)
: ---
Assigned To: Apache HTTPD Bugs Mailing List
Depends on:
  Show dependency tree
Reported: 2009-09-18 12:23 UTC by Jeff Trawick
Modified: 2013-08-23 14:44 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Trawick 2009-09-18 12:23:21 UTC
start httpd without mod_fcgid
add LoadModule directive
endless crashes in child init hook for every process

pstack ~/inst/22/core 
core '/export/home/trawick/inst/22/core' of 11316:	/export/home/trawick/inst/22/bin/httpd -k start
 fee74e17 apr_proc_mutex_child_init (4, feb19bb0, 81da478, fee75baf) + 1b
 fee75bd9 apr_global_mutex_child_init (feb19838, feb19bb0, 81da478, feb00e73) + 39
 feb00ea1 proctable_child_init (82371f8, 82d2790, 8047508, feaf75bf) + 3d
 feaf75da initialize_child (82d2790, 82371f8, 81e9918, fee74e0b) + 2a
 080aa31c ap_run_child_init (82d2790, 82371f8, 80475e8, 8181788) + 70
 081817c5 child_main (5, 8181130, 8047618, 8181e6a) + 1bd
 08181f4f make_child (82371f8, 5, 80476a8, fee92089) + 1bf
 081822fb perform_idle_server_maintenance (81da478, 8047720, 80476f4, 81da478) + 297
 08182a12 ap_mpm_run (81da478, 822e5c8, 82371f8, 8082fc8) + 69a
 08082fed main     (3, 8047904, 8047914, 808133f) + 1079
 0808139d _start   (3, 8047a28, 8047a4f, 8047a52, 0, 8047a58) + 7d
Comment 1 William A. Rowe Jr. 2012-06-22 21:43:47 UTC
This is true of how many httpd modules?  I imagine it's rather a lot.
Comment 2 Chris Wilson (Aptivate) 2013-08-23 14:44:42 UTC
I had the same problem with mod_wsgi: https://code.google.com/p/modwsgi/issues/detail?id=300

The question is, is it supposed to be supported by Apache or not?

If so, it would be great to see it fixed in the module.

If not, it would be great for Apache to ignore changes to the loaded module list on reload. Otherwise every distro has to remember that every package that contains Apache modules must trigger a full restart (with downtime) whenever it's installed or uninstalled.