title: ASP.NET MVC why does my app keep restarting?
body: <p>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.</p>
  
  <p>I've read Scott Gu's article here: <a href="http://weblogs.asp.net/scottgu/archive/2005/12/14/433194.aspx">http://weblogs.asp.net/scottgu/archive/2005/12/14/433194.aspx</a>
  and implemented the technique, and here's what shows up in my log:</p>
  
  <pre><code>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()
  </code></pre>
  
  <p>It seems to occur about every five minutes.</p>
  
  <p>Are there any other ways to debug this?</p>
  
  <p>UPDATE: Here are the application pool settings mentioned by Softion:</p>
  
  <p>CPU</p>
  
  <ul>
  <li>Limit : 0</li>
  <li>Limit Action : no action</li>
  <li>Limit Interval : 5 Minutes</li>
  </ul>
  
  <p>Process Model </p>
  
  <ul>
  <li>Idle Timeout : 20 Minutes</li>
  <li>Ping Maximum Response Time : 90 Seconds</li>
  <li>Startup Time Limit : 90 Seconds</li>
  </ul>
  
  <p>Rapid-Fail Protection</p>
  
  <ul>
  <li>Enabled : True</li>
  <li>Failure Interval : 5 Minutes</li>
  </ul>
  
  <p>Recycling</p>
  
  <ul>
  <li>Private Memory Limit : 100 MB</li>
  <li>Regular Time Interval : 1740 Minutes (29 Hours)</li>
  <li>Request Limit : 0</li>
  <li>Specific Times : none</li>
  <li>Virtual Memory Limit : 0</li>
  </ul>