httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10074] - apachectl invokes httpd with -k option
Date Fri, 21 Jun 2002 11:02:20 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10074>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10074

apachectl invokes httpd with -k option

trawick@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From trawick@apache.org  2002-06-21 11:02 -------
This problem with the perchild MPM as been fixed in CVS and will be in the
next release.  In the meantime, you can use this patch:

Index: server/mpm/experimental/perchild/mpm.h
===================================================================
RCS file: /home/cvs/httpd-2.0/server/mpm/experimental/perchild/mpm.h,v
retrieving revision 1.16
diff -u -r1.16 mpm.h
--- server/mpm/experimental/perchild/mpm.h      1 Apr 2002 08:27:42 -0000       1.16
+++ server/mpm/experimental/perchild/mpm.h      21 Jun 2002 10:53:29 -0000
@@ -76,6 +76,7 @@
 #define AP_MPM_WANT_SET_MAX_REQUESTS
 #define AP_MPM_WANT_SET_COREDUMPDIR
 #define AP_MPM_WANT_SET_ACCEPT_LOCK_MECH
+#define AP_MPM_WANT_SIGNAL_SERVER
 #define AP_MPM_USES_POD

 #define MPM_CHILD_PID(i) (ap_scoreboard_image->parent[i].pid)
Index: server/mpm/experimental/perchild/perchild.c
===================================================================
RCS file: /home/cvs/httpd-2.0/server/mpm/experimental/perchild/perchild.c,v
retrieving revision 1.126
diff -u -r1.126 perchild.c
--- server/mpm/experimental/perchild/perchild.c 13 Jun 2002 16:36:19 -0000     
1.126
+++ server/mpm/experimental/perchild/perchild.c 21 Jun 2002 10:53:30 -0000
@@ -1999,7 +1999,7 @@

 module AP_MODULE_DECLARE_DATA mpm_perchild_module = {
     MPM20_MODULE_STUFF,
-    NULL,                       /* hook to run before apache parses args */
+    ap_mpm_rewrite_args,        /* hook to run before apache parses args */
     NULL,                       /* create per-directory config structure */
     NULL,                       /* merge per-directory config structures */
     perchild_create_config,     /* create per-server config structure */

Apply the patch, then "make clean && make && make install".

Thanks for your report, and thanks for using Apache!

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message