[Mono-aspnet-list] Preventing Apache to stop mod_mono_server2

Antonio Anzivino djechelon at zighinetto.org
Fri Feb 26 15:11:59 EST 2010


Hello,

I'm running mod-mono-server2 on an Apache 2 webserver. Mod-mono is not
spawned by Apache, instead it's executed as a different user with a startup
script, and MonoStartXSP is set to false. The application seems to work, at
least at the beginning

I found that every time Apache is reloaded or restarted, mod_mono process
gets killed or deadlocked, and it's obviously not restarted.

I would like Apache to NEVER send the \0 token over the TCP channel to tell
mono to go away, since Apache is often reloaded for changes in virtual host
configuration and by logrotate.

 

I know that many people WANT Apache to kill mono when it shuts down, but
since I want Apache and mono to be as most independent as I can, is it
possible to prevent it to occur? I start mod_mono using the following
command: "/usr/bin/mod-mono-server2 --nonstop --verbose --port 8088
-applications......"

 

Thank you.

Antonio Anzivino

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20100226/d5751587/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3687 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20100226/d5751587/attachment.bin 


More information about the Mono-aspnet-list mailing list