c# - mvc 4 + iis7.5 application stop -
it's first time write here hope clear ! i've deployed mvc application on iis 7.5. in application_start starts operation download files on fixed interval. i've access windows server 2008 remote desktop on virtual machine. problem when logout virtual machine, application seems stop , not downloading anymore 'till don't start once time application.
is normal or i've kind of problem in configuration ?
i want application start 1 time , cycle kind of operations without stops..
on default application pool settings, normal (assuming have low traffic site). app pool shutdown after set inactivity period , take downloader offline it. believe default 20 minutes of inactivity.
here's info on configuring timeout. http://technet.microsoft.com/en-us/library/cc771956(v=ws.10).aspx
and here's info configuring iis auto start , run (to emulate windows service environment) http://weblogs.asp.net/scottgu/archive/2009/09/15/auto-start-asp-net-applications-vs-2010-and-net-4-0-series.aspx
here of risks , workarounds associated running long running processes under asp.net http://haacked.com/archive/2011/10/16/the-dangers-of-implementing-recurring-background-tasks-in-asp-net.aspx
Comments
Post a Comment