IIS 7 AppPool logs an error after recycle due to inactivity

Posted by ddysart on Server Fault See other posts from Server Fault or by ddysart
Published on 2012-01-19T14:45:36Z Indexed on 2013/10/26 15:57 UTC
Read the original article Hit count: 336

We have Windows 2008 RS Server running IIS hosting an ASP.NET site. This morning there was a weird sequence. First a notice that the AppPool was being recycled due to inactivity:

"A worker process with process id of '6896' serving application pool 'xxxx' was shutdown due to inactivity. Application Pool timeout configuration was set to 20 minutes. A new worker process will be started when needed."

This makes sense and jibes with out timeout settings, but 30 seconds later we see:

"A process serving application pool 'xxxx' terminated unexpectedly. The process id was '6896'. The process exit code was '0xc0000005'."

I found an older KB article that explains a condition where this might happend on IIS6 due to permission issues, but am curious what might cause this on IIS7.5, especially since we are not seeing it regularly.

© Server Fault or respective owner

Related posts about windows-server-2008-r2

Related posts about iis7.5