[Mono-aspnet-list] Re start mono after compile?

Mark DevGood dirkroel at gmail.com
Wed Jul 8 10:25:26 EDT 2009


Here are the steps to my problem

1) Website works fine
2) Compile the website using:

gmcs /t:library /out:bin/xline.Website.Tasks.Website.dll -pkg:dotnet -debug+
-recurse:*.cs

3) Now refresh the website, and the page seems to be loading constantly and
won't stop even for hours.
4) Execute sudo /usr/sbin/apachectl restart OR 
    Click on Restart all mod-mono-server processes in the mono control panel
under 'All Backends' OR
    Click on Restart Server in the mono control panel under XXGLOBAL

5) Refresh the website, and it loads up OK

This is easily repeatable on all my machines running mono. Now this is a
real problem for me, because when I publish my webpages to my hosted
webserver, I am not able to restart apache or mono. This means the webpage
will not respond in the browser after I update/recompile unless I email
admin to restart apache which as you can imagine he is not too happy about.

So question is...what needs to be done so that a simple recompile is
sufficient to update a website without needing to restart apache/mono.

Many thanks
Mark

-- 
View this message in context: http://www.nabble.com/Restart-mono-after-compile--tp24392500p24392500.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.



More information about the Mono-aspnet-list mailing list