[Mono-bugs] [Bug 68854][Cri] Changed - mod_mono returns 503 when using the Apache 2 "worker" MPM
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 3 Feb 2005 04:32:55 -0500 (EST)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by gonzalo@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=68854
--- shadow/68854 2005-02-02 23:56:12.000000000 -0500
+++ shadow/68854.tmp.13422 2005-02-03 04:32:55.000000000 -0500
@@ -190,6 +190,31 @@
ourselves.
------- Additional Comments From rlyon@novell.com 2005-02-02 23:56 -------
Created an attachment (id=14049)
mod_mono.patch
+
+------- Additional Comments From gonzalo@ximian.com 2005-02-03 04:32 -------
+In the patch you've removed the wait() after fork(). That will make
+the process be zombie when it finishes.
+
+You're focusing on starting mod-mono-server, and that problem seems
+fixed with your patch, but there's still the finalization problem.
+terminate_xsp is going to be called whenever apache recycles any
+process and that gracefully terminates mod-mono-server.
+
+Crap! Never tried that child_init thing but seems like you made it
+work. Thanks!
+
+I'll check if it works with apache 1.3.
+
+Oh, and for the 'baby sitter' process, we might use
+apr_process_other_child_register providing on apache 2.0 providing a
+callback to be called when the process dies for whatever reason.
+
+If you want to complete the patch for these things, tell me, otherwise
+i'll finish it tomorrow (3:34 am now) and figure out what to do with
+terminate_xsp.
+
+Thanks!
+