IIS 7 and ASP.NET 4 web server timeout
<p>I have 3 applications on the same web server. Two of them are configured in separate ASP.NET 4 application pools and and one of them is on an ASP.NET 2 application pool.</p>

<p>I'm experiencing intermitent timeouts when accessing those apps during the day. To track down this timeouts, I have setup a ping monitoring service (motive.com). Here is a sample of the timeout ocurrencies log:</p>

<pre>
app     date                            downtime        main reason
APP2    19-September-2012, at 14:51 4 mins 50 secs  connect() timed out!
APP1    19-September-2012, at 14:51 4 mins 50 secs  connect() timed out!
APP2    19-September-2012, at 14:11 2 mins 50 secs  couldn't connect to host
APP1    19-September-2012, at 14:11 2 mins 50 secs  couldn't connect to host
APP2    19-September-2012, at 9:17  2 mins 41 secs  couldn't connect to host
APP1    19-September-2012, at 9:17  2 mins 41 secs  couldn't connect to host
...
</pre>

<p>As you can see, both ASP.net 4 pools are timing out simultaneously. I'm also monitoring the ASP.NET 2.0 app pool web site and I haven't have one single timeout!</p>

<p>There's no pattern whatsoever related to the time of the day that it occurs (both day/night). Intervals between timeouts don't follow a pattern either, sometimes they happen after 40 minutes, others take some hours in between.</p>

<p>The timeout never lasts more than 5 minutes, but they also vary from 2 to 5 minutes randomly.</p>

<p>At first I thought it might have something to do with application pool recycling but I've checked and recycling is set to occur after 24 hours and disabled for other events (memory peaks, etc.).</p>

<p>The site is infrequently accessed (it's in beta test), so there are no huge number of access, workers demand, memory consumption, etc.</p>

<p>I've also checked the IIS log and there are 2 to 5 minutes gaps during the hours of downtime reported by the monitoring service, but no error message. I also checked the Windows event log and haven't found anything unusual in system and application events.</p>

<p>I'm really desperate right now. If someone could help me out, I'd be really thankful.</p>
