[Mono-aspnet-list] Stopping fastcgi-mono-server gracefully and website content updating with no need of restarting it
mzabani at gmail.com
Sat Nov 12 12:30:34 EST 2011
Thank you very much for your answers. I will switch to Apache + mod_mono
However, I would like to ask the same questions (the first, second and
third) again, this time regarding apache+mod_mono.
Thank you very much.
On Sat, Nov 12, 2011 at 10:47 AM, Robert Jordan <robertj at gmx.net> wrote:
> On 12.11.2011 06:05, Marcelo Zabani wrote:
> > 1. Can I update the contents of my website (dll's, for instance)
> > having to restart the fastcgi process? Is there a possibility of
> > momentaneous failure for my visitors when I'm doing that?
> The web app should restart (by recycling the appdomain) whenever
> it detects that one of its dependencies has changed.
> > 2. How can I gracefully stop fastcgi-mono-server? I took the
> > initialization script from
> > http://yojimbo87.github.com/2010/03/14/mono-startup-script.html as
> > basis, but it just kills (sends SIGTERM) the fastcgi-mono-server
> > not calling Application_End in Global.asax (and that is what I mean
> > ungraceful shutdown). SIGHUP won't work either (though it also kills
> > server)
> Currently, there is no way to shutdown a fastcgi-mono-server
> process gracefully.
> > Also, I can't find a page to follow the news or the state of
> > fastcgi-mono-server, the only references I have taught me how to set up
> > server and the basic workings of it, but I have NO IDEA where to look for
> > new versions and changelogs (or even a download page, so far I've been
> > using portage to install the xsp package, which comes with
> > fastcgi-mono-server). I found http://kerrick.wordpress.com/2007/08/ but
> > last post on fastcgi-mono-server is so old that it scares me.
> fastcgi-mono-server is basically unmaintained. It has received
> some patches during the last years, but these documentations
> and articles still apply.
> > If I may ask one last question, how can I run fastcgi-mono-server as an
> > unprivileged user? I'm afraid to try to setuid the process, since I'm not
> Well, simply don't run it as root.
> > quite sure if mono will respect the setuid flag (haven't tried it yet)
> It will not. fastcgi-mono-server is just a script that won't pay
> attention to setuid.
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-aspnet-list