How to diagnose website performance/app pool recycling with Windows 2008/IIS7

Posted by ilasno on Server Fault See other posts from Server Fault or by ilasno
Published on 2010-12-09T00:33:32Z Indexed on 2012/06/09 10:42 UTC
Read the original article Hit count: 312

Ok, so there are various symptoms here (clients and and our own employees complaining of intermittent slowdowns, getting 'kicked out' to login page or just having a save request not properly save the submitted data).

The environment:

  • Windows Server 2008 (Datacenter), Service Pack 2, 64-bit, 2x2.8 GHz processors, 7.5 GB RAM
  • MS SQL Server 2008 (running on the same machine)
  • IIS 7

There are ~10 websites running on the server, each in their own application pool - most of these pools are running in Integrated mode, 2 are in Classic, all are on .NET 2.0 and all run as ApplicationPoolIdentity.

I'm trying to analyze, diagnose, and troubleshoot and am struggling with where to get more info about what could be happening.

Here are some steps i have already taken:

  • Set each application pool to recycle once per day, and removed any other automatic recycling
  • Set a Virtual Memory Limit for each to 1024000KB (1GB)
  • Enabled ALL 'Generate Recycle Event Log Entry' entries (Config Changes, Isapi Reported Unhealthy, Manual Recycle, Private Memory Limit Exceeded, Regular Time Interval, Request Limit Exceeded, Specific Time, Virtual Memory Limit Exceeded)

I have seen the app pool processes recycle (in Task Manager) - a new one will start up, and then the first one dies off - and this has happened without the memory or time going over the settings.

This is a fairly new server, and most of these came from Windows Server 2003/IIS6.

Any 'next steps' for setting up information gathering, logging, diagnosing, etc. would be much appreciated!

j

© Server Fault or respective owner

Related posts about iis

Related posts about windows-server-2008-r2