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

Gonzalo Paniagua Javier gonzalo.mono at gmail.com
Fri Feb 26 16:11:37 EST 2010


You have to set:

	MonoRunXSP APPNAME false

so that mod_mono is not involved in starting or stopping
mod-mono-server.

-Gonzalo


On Fri, 2010-02-26 at 21:11 +0100, Antonio Anzivino wrote:
> 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
> 
> 
> _______________________________________________
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list




More information about the Mono-aspnet-list mailing list