I have an ASP.NET MVC website that gets about 6500 hits a day, on a shared hosting platform at Server Intellect. I keep seeing app restarts in the logs and I cannot figure out why.
I've read Scott Gu's article here: http://weblogs.asp.net/scottgu/archive/2005/12/14/433194.aspx and implemented the technique, and here's what shows up in my log:
Application Shutdown:
_shutDownMessage=HostingEnvironment initiated shutdown
HostingEnvironment caused shutdown
_shutDownStack=at
System.Environment.GetStackTrace(Exception e, Boolean needFileInfo) at
System.Environment.get_StackTrace() at
System.Web.Hosting.HostingEnvironment.InitiateShutdownInternal() at
System.Web.Hosting.HostingEnvironment.InitiateShutdown() at
System.Web.Hosting.PipelineRuntime.StopProcessing()
It seems to occur about every five minutes.
Are there any other ways to debug this?
UPDATE: Here are the application pool settings mentioned by Softion:
CPU
- Limit : 0
- Limit Action : no action
- Limit Interval : 5 Minutes
Process Model
- Idle Timeout : 20 Minutes
- Ping Maximum Response Time : 90 Seconds
- Startup Time Limit : 90 Seconds
Rapid-Fail Protection
- Enabled : True
- Failure Interval : 5 Minutes
Recycling
- Private Memory Limit : 100 MB
- Regular Time Interval : 1740 Minutes (29 Hours)
- Request Limit : 0
- Specific Times : none
- Virtual Memory Limit : 0