Hello Stefan,
From your description, your ASP.NET application has a long startup
time(some intialization work) and you want to make the application avoid
automatically shutdown/stop(avoid the intialiation overhead).
As you mentioned that you've configured all the timeout setting for the IIS
application pool, do you mean you've unchecked the following options for
the IIS application pool?
* Recycle worker process (in minutes):
* Shutdown worker processes after being idle for (time in minutes)
If so, the automatic shutdown or recycle of the worker process should have
been disabled.
Based on my experience, if you find that the ASP.NET application page
respond slowly again(like at initializing, startup time), it is possibly
caused by either of the following issue:
1. the ASP.NET worker process recycled or shutdown.
2. the ASP.NET application(appdomain) restart itself without recycle or
shutdown the workerprocess.
And for IIS worke process shutdown, there should contains log entry in the
application eventlog which record the shutdown or recycle behavior. Have
you found any entry in the application eventlog indicate the the ASP.NET
application's worker process recycled? As for application restart, I
suggest you consider put some code in your ASP.NET application's
"Applcation_Start" or "Application_End" event (in global.asax) and write
some info into EventLog to trace the application restart behavior. Here is
a good article from ScottGu's blog describing how to write custom event
entry to record ASP.NET application shutdown.
#Logging ASP.NET Application Shutdown Events
http://weblogs.asp.net/scottgu/archive/2005/12/14/433194.aspx
Here is a web kbalerts listed some existing problem of ASP.NET application
restart:
#Why is my ASP.NET application restarting?
http://www.kbalertz.com/Feedback_871042.aspx
Hope this helps. Please feel free to let me know if there is any other
information you wonder.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.