Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

DO NOT REPLY [Bug 10074] - apachectl invokes httpd with -k option

From: <bugzilla(at)apache.org>
Date: Fri Jun 21 2002 - 07:02:20 EDT


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 Received on Fri Jun 21 11:02:16 2002
Do you need help?X

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 16:43:40 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library