IIS Performance Monitoring and Tuning

Monitoring IIS Performance in Windows Server 2003

The primary performance monitoring MMC snap-ins and tools used for monitoring Windows Server 2003, and IIS are:

You have to be a member of one of the following groups to use System Monitor:

To open System Monitor,

A few of commonly monitored objects include,

To add counters in System Monitor,

To access Performance Logs and Alerts,

To open Task Manager, use of the methods listed below:

To install the Network Monitor Driver :

    1. Open the Network Connections folder
    2. Right-click Local Area Connection, and select Properties
    3. When the Properties dialog box is displayed, click the Install button.
    4. When the Select Network Component Type dialog box is displayed, click Protocol in the Component list, and click the Add button
    5. When the Select Network Protocol dialog box is displayed, click Network Monitor Driver.
    6. Click OK.

To install the Network Monitor application

    1. Click Start, click Control Panel, and click Add or Remove Programs
    2. When the Add Or Remove Programs dialog box is displayed, click Add/Remove Windows Components
    3. This initiates the Windows Component Wizard
    4. Select Management and Monitoring Tool, and click the Details button
    5. Select the Network Monitor Tools check box, and click OK
    6. Click Next and Click Finish

When monitoring Windows Server 2003 and IIS, it is recommended to monitor counters for the following system resources, or objects:

The performance counters that you should enable for the above system resources to monitor IIS performance are listed below.

The performance counters of the WWW Service objects that you should enable to monitor the WWW service are listed below.

The performance counters of the Active Server Pages object that you should enable to monitor ASP are listed below.

Tuning IIS for Maximum Performance

One definite way to ensure maximum IIS performance and security is to have your servers running in the worker process isolation mode of IIS 6. This is the default application mode in IIS 6, where all the new architectural features of IIS 6 are enabled, including:

To switch to worker process isolation mode,

  1. Open the IIS Manager
  2. Right-click the Web Sites node, and click Properties from the shortcut menu.
  3. When the Web Site Properties dialog box opens, click the Services tab.
  4. If you want to use worker process isolation mode, clear the Run WWW service in IIS 5 isolation mode checkbox.
  5. Click OK.
  6. Restart IIS

How to tune application pools through recycling

Recycling a worker process improves the reliability of IIS. Recycling is beneficial for faulty Web applications which are typically caused by memory leaks. Through recycling, you enable IIS to periodically restart worker processes which are currently servicing an application pool. You can configure recycling for a worker process using a number of criteria:

To manually recycle a worker process,

  1. Open IIS Manager
  2. Locate and right-click the application pool associated with the worker process, and select Recycle from the shortcut menu.

To configure all worker processes in each application pool to recycle according to the same criteria,

  1. Open IIS Manager
  2. Right-click the Application Pool node in the console tree, and select Properties from the shortcut menu.
  3. The Recycling tab is utilized for configuring recycling.

How to configure the idle timeout feature for all application pools

Through the idle timeout feature, you can enhance web server performance by enabling IIS to shut down idle worker processes. Enabling the idle timeout feature assists in eliminating system resource wasting that normally occurs when worker processes run idly. It allows you to better manage system resources, preserve resources so that they are available when needed, and free up resources.

To enable the idle time feature,

  1. Open IIS Manager
  2. Right-click the Application Pool node in the console tree, and select Properties from the shortcut menu.
  3. Click the Performance tab.
  4. In the Idle Timeout area of the Performance tab, enable the available checkbox and specify the inactivity time duration after which the worker process should shut down. The default setting is 20 minutes.
  5. Click OK.

How to enable the Request Queue Limits, CPU Monitoring, and Web Gardens features to improve IIS performance

To configure the Request Queue Limit, CPU Monitoring, and Web Garden features,

  1. Open IIS Manager
  2. Right-click the Application Pool node in the console tree, and select Properties from the shortcut menu.
  3. Click the Performance tab.
  4. Enable the checkbox under the Request Queue Limit section of the Performance tab, and set the appropriate limit.
  5. Enable the checkbox under the CPU Monitoring section of the Performance tab, and specify the fitting setting value. Specify the action that IIS should take when the specified CPU usage level is exceeded.
  6. Enable the Web Garden feature by selecting a value greater than one in the Web Gardens area of the Performance tab. A value of one indicates that the Web Garden feature is disabled.
  7. Click OK.

How to configure Health Monitoring features

The Quality of Service (QoS) features of IIS

The various QoS features of IIS which you can enable and configure to tune IIS performance are listed below:

To enable or disable the HTTP Keep-Alives QoS feature,

    1. Open the IIS Manager.
    2. Right-click the Web Sites node and select Properties on the shortcut menu.
    3. When the Web Sites Properties dialog box opens, click the Web Site tab.
    4. To enable HTTP Keep-Alives, check the Enable HTTP Keep-Alives checkbox.
    5. To disable HTTP Keep-Alives, clear the Enable HTTP Keep-Alives checkbox.
    6. Click OK.

To enable HTTP Compression,

    1. Open the IIS Manager.
    2. Right-click the Web Sites node and select Properties on the shortcut menu.
    3. When the Web Sites Properties dialog box opens, click the Services tab.
    4. If you want to compress dynamic content, click the Compress Application Files checkbox.
    5. If you want to compress static files, click the Compress Static Files checkbox.
    6. Click OK.

How to tune the IIS metabase

The properties of the metabase which affect IIS performance, and the performance of ASP.NET, ASP and ISAPI applications which you can configure to tune IIS performance are:

How to tune Registry settings to improve IIS performance

While the majority of IIS configuration information is stored in the metabase, there are still a few IIS settings which are stored in the Registry. The Registry settings which you can tune to improve IIS performance are discussed below.

Common Server Tuning Methods for Tuning the IIS machine

A few common methods that should be considered to tune the performance of the IIS machine:

To enable Maximize Data Throughput,

    1. Open Control Panel
    2. Click Network Connections, and then select Local Area Connection
    3. Click the General tab, and then click Properties.
    4. When the Local Area Connection Properties dialog box opens, select File and Print Sharing for Microsoft Networks, and then click Properties.
    5. Select the Maximize Data Throughput for Network Applications option.
    6. Click OK.

Tuning the Performance of ASP, ASP.NET, and ISAPI Applications

A few common tuning methods which you can use for applications running on IIS 6 are:

Tune your ASP.NET applications for high performance by implementing the following best practices:

How to enable ISAPI caching to improve application performance on IIS 6:

  1. Open IIS Manager
  2. Open the Properties window for the website which contains the particular application.
  3. Click the Home Directory tab.
  4. Click Create to enter a name for the application if it needs one.
  5. Click the Configuration button
  6. When the Application Configuration Properties dialog box of the application opens, click the Mappings tab.
  7. Select the Cache ISAPI Extensions checkbox.
  8. Click OK.


Top 5 Free Networking Tools

Bookmark IIS Performance Monitoring and Tuning

Latest Blog Posts


English English GermanGerman SpanishSpanish FrenchFrench ItalianItalian PortuguesePortuguese RussianRussian DutchDutch
GreekGreek HindiHindi JapaneseJapanese KoreanKorean ChineseChinese Chinese (Simplified)Chinese (Simplified) ArabicArabic

Copyright 2009 Tech-FAQ. All rights reserved. Privacy Policy.