Potential memory leak in web application code Monitor

  • ID:  Microsoft.Windows.InternetInformationServices.2008.ApplicationPool.MemoryLeak.Monitor
  • Description:  This monitor looks at events logged when the application pool is recycled due to exceeding the configured memory thresholds and will change its state to warning if the application pool is recycled too frequently (based on the configuration of the monitor). This is a manual reset monitor which means it will not switch to healthy state automatically. To switch the monitor to healthy state you will need to reset the monitor using health explorer.
  • Target:  IIS 7 Application Pool
  • Enabled:  On Essential Monitoring

Operational States

Name State Description
Potential Memory Leak Detected Warning  
Healthy Success  

Overridable Parameters

Parameter Name Default Value Description Override
Time window in seconds 3600  
Number of occurrences 10  

Alert Details

Monitor State Message Priority Severity Auto Resolution
Potential Memory Leak Detected (Warning) Potential memory leak in web application code Medium Warning Yes

Run As Profiles

Name
Default

Monitor Knowledgebase

Summary

The application pool is recycled too frequently because its virtual or physical memory consumption reached the configured limit. This could be indicative of a memory leak inside the code which the application pool is executing.

Causes
  • There is a memory leak inside the code which the application pool is executing.

  • The physical or virtual memory limit is set too low.

Resolutions

To check or configure application pool limit settings by using IIS Manager:

  • Click Start, click Control Panel, and then click Administrative Tools.

  • Right-click Internet Information Services (IIS) Manager and select Run as administrator.

  • In the Connections pane on the left, expand the computer, then select the Application Pools folder underneath the computer name.

  • In Features View, select the application pool. In the Actions pane, select Advanced Settings.

  • Check or configure the settings for application pool limits under the appropriate section(s).

Note: Because this is a manual reset monitor, after fixing the problem you will need to reset the state of this monitor in health explorer. You can do this by right clicking on the monitor and selecting the "Reset Health" menu item. Unless you manually reset the monitor, it will not switch to healthy state.

External References
This monitor does not contain any external references.

See Also for Windows Internet Information Services Management Pack


Downloads for Windows Internet Information Services Management Pack

AZURE OPTIMIZATION ASSESSMENT GET STARTED
MIGRATION TO AZURE GET STARTED
SYSTEM CENTER MIGRATION TO AZURE GET STARTED
MIGRATION TO AZURE FOR SQL AND WINDOWS 2008 GET STARTED