A memory leak occurs in the Rhs.exe process when you configure IIS 7.0 World Wide Web Publishing Service in a Windows Server 2008 failover cluster

Article translations Article translations
Article ID: 2163398 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

Consider the following scenario. You use the Clusweb7.vbs script that is described in the Microsoft Knowledge Base (KB) article 970759 to configure Internet Information Services (IIS) 7.0 World Wide Web Publishing Service (W3SVC) in a Windows Server 2008 failover cluster. After the server runs for some time, a memory leak occurs in the Resource Hosting Subsystem (Rhs.exe) process. Additionally, the clustered W3SVC service experiences an Out of Memory condition. When this issue occurs, the server may become less responsive. 

CAUSE

This issue occurs because a handle to a IDispatch object is not released for every call of the GetDispatchInterface function. The Clusweb7.vbs script contains the LooksAlive function that calls the GetDispatchInterface function in the background. This causes the memory leak that is described in the "Symptoms" section.

RESOLUTION

Hotfix information

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites

You must have Internet Information Services (IIS) 7.0 installed to apply this hotfix. Additionally, your computer must be running one of the following operating systems:
  • Windows Vista SP1
  • Windows Vista SP2
  • Windows Server 2008
  • Windows Server 2008 SP2

Restart requirement

You must restart your computer if IIS is running when you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
For all supported x86-based versions of Windows Vista and of Windows Server 2008
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Admwprox.dll7.0.6001.2272251,71201-Jul-201014:54x86
Ahadmin.dll7.0.6001.2272227,13601-Jul-201014:54x86
Appcmd.exe7.0.6001.22722154,11201-Jul-201013:42x86
Appcmd.xmlNot Applicable3,65404-Mar-201005:47Not Applicable
Applicationhost.configNot Applicable7,98904-Mar-201005:47Not Applicable
Appobj.dll7.0.6001.22722311,80801-Jul-201014:54x86
Aspnetca.exe7.0.6001.22722182,78401-Jul-201013:43x86
Aspnet_schema.xmlNot Applicable38,78604-Mar-201005:48Not Applicable
Fx_schema.xmlNot Applicable26,94304-Mar-201005:48Not Applicable
Iismig.dll7.0.6001.22722209,40801-Jul-201014:59x86
Iisreg.dll7.0.6001.2272289,08801-Jul-201014:56x86
Iisres.dll7.0.6001.22722193,02401-Jul-201013:42x86
Iisreset.exe7.0.6001.2272214,84801-Jul-201013:42x86
Iisrstap.dll7.0.6001.227228,19201-Jul-201014:56x86
Iisrstas.exe7.0.6001.2272231,23201-Jul-201013:42x86
Iisrtl.dll7.0.6001.22722153,60001-Jul-201014:56x86
Iissetup.exe7.0.6001.22722228,86401-Jul-201013:43x86
Iissyspr.dll7.0.6001.2272259,39201-Jul-201014:56x86
Iisutil.dll7.0.6001.22722202,75201-Jul-201014:56x86
Iis_schema.xmlNot Applicable79,21304-Mar-201005:48Not Applicable
Nativerd.dll7.0.6001.22722333,31201-Jul-201014:58x86
Redirection.configNot Applicable49004-Mar-201005:48Not Applicable
Rsca.dll7.0.6001.2272226,62401-Jul-201014:59x86
Rscaext.dll6.0.6001.2272238,91201-Jul-201014:59x86
Rscaext.xmlNot Applicable8,36304-Mar-201005:48Not Applicable
W3ctrlps.dll7.0.6001.227229,21601-Jul-201015:00x86
Wamregps.dll7.0.6001.2272210,75201-Jul-201015:00x86
Admwprox.dll7.0.6002.2243651,71201-Jul-201015:55x86
Ahadmin.dll7.0.6002.2243627,13601-Jul-201015:55x86
Appcmd.exe7.0.6002.22436154,11201-Jul-201014:09x86
Appcmd.xmlNot Applicable3,65403-Apr-200920:43Not Applicable
Applicationhost.configNot Applicable7,99003-Apr-200920:43Not Applicable
Appobj.dll7.0.6002.22436311,80801-Jul-201015:55x86
Aspnetca.exe7.0.6002.22436182,78401-Jul-201014:10x86
Aspnet_schema.xmlNot Applicable38,80909-Feb-201009:17Not Applicable
Fx_schema.xmlNot Applicable27,10509-Feb-201009:17Not Applicable
Iismig.dll7.0.6002.22436209,40801-Jul-201016:01x86
Iisreg.dll7.0.6002.2243689,08801-Jul-201015:58x86
Iisres.dll7.0.6002.22436193,02401-Jul-201014:09x86
Iisreset.exe7.0.6002.2243614,84801-Jul-201014:09x86
Iisrstap.dll7.0.6002.224368,19201-Jul-201015:58x86
Iisrstas.exe7.0.6002.2243631,23201-Jul-201014:09x86
Iisrtl.dll7.0.6002.22436153,60001-Jul-201015:58x86
Iissetup.exe7.0.6002.22436228,86401-Jul-201014:10x86
Iissyspr.dll7.0.6002.2243659,39201-Jul-201015:58x86
Iisutil.dll7.0.6002.22436202,75201-Jul-201015:58x86
Iis_schema.xmlNot Applicable79,61020-Feb-201018:12Not Applicable
Nativerd.dll7.0.6002.22436334,84801-Jul-201016:00x86
Redirection.configNot Applicable49003-Apr-200920:45Not Applicable
Rsca.dll7.0.6002.2243626,62401-Jul-201016:01x86
Rscaext.dll6.0.6002.2243638,91201-Jul-201016:01x86
Rscaext.xmlNot Applicable8,36303-Apr-200920:45Not Applicable
W3ctrlps.dll7.0.6002.224369,21601-Jul-201016:02x86
Wamregps.dll7.0.6002.2243610,75201-Jul-201016:02x86
Iisw3adm.dll7.0.6001.22722371,71201-Jul-201014:56x86
W3tp.dll7.0.6001.2272215,87201-Jul-201015:00x86
W3wphost.dll7.0.6001.2272246,59201-Jul-201015:00x86
Wbhstipm.dll7.0.6001.2272224,06401-Jul-201015:00x86
Wbhst_pm.dll7.0.6001.2272222,52801-Jul-201015:00x86
Iisw3adm.dll7.0.6002.22436374,27201-Jul-201015:58x86
W3tp.dll7.0.6002.2243615,87201-Jul-201016:02x86
W3wphost.dll7.0.6002.2243648,12801-Jul-201016:02x86
Wbhstipm.dll7.0.6002.2243624,06401-Jul-201016:02x86
Wbhst_pm.dll7.0.6002.2243622,52801-Jul-201016:02x86
For all supported x64-based versions of Windows Vista and of Windows Server 2008
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Admwprox.dll7.0.6001.2272254,78401-Jul-201015:14x64
Ahadmin.dll7.0.6001.2272261,44001-Jul-201015:14x64
Appcmd.exe7.0.6001.22722191,48801-Jul-201014:09x64
Appcmd.xmlNot Applicable3,65426-Feb-201004:06Not Applicable
Applicationhost.configNot Applicable7,98926-Feb-201004:06Not Applicable
Appobj.dll7.0.6001.22722379,39201-Jul-201015:14x64
Aspnetca.exe7.0.6001.22722218,62401-Jul-201014:10x64
Aspnet_schema.xmlNot Applicable38,78626-Feb-201004:06Not Applicable
Fx_schema.xmlNot Applicable26,94326-Feb-201004:07Not Applicable
Iismig.dll7.0.6001.22722242,68801-Jul-201015:20x64
Iisreg.dll7.0.6001.22722111,61601-Jul-201015:17x64
Iisres.dll7.0.6001.22722193,02401-Jul-201014:09x64
Iisreset.exe7.0.6001.2272216,89601-Jul-201014:09x64
Iisrstap.dll7.0.6001.2272211,26401-Jul-201015:17x64
Iisrstas.exe7.0.6001.2272234,81601-Jul-201014:09x64
Iisrtl.dll7.0.6001.22722192,51201-Jul-201015:17x64
Iissetup.exe7.0.6001.22722280,06401-Jul-201014:10x64
Iissyspr.dll7.0.6001.2272266,56001-Jul-201015:17x64
Iisutil.dll7.0.6001.22722275,45601-Jul-201015:17x64
Iis_schema.xmlNot Applicable79,21326-Feb-201004:07Not Applicable
Nativerd.dll7.0.6001.22722419,84001-Jul-201015:18x64
Redirection.configNot Applicable49026-Feb-201004:07Not Applicable
Rsca.dll7.0.6001.2272231,23201-Jul-201015:20x64
Rscaext.dll6.0.6001.2272244,03201-Jul-201015:20x64
Rscaext.xmlNot Applicable8,36326-Feb-201004:07Not Applicable
W3ctrlps.dll7.0.6001.2272213,82401-Jul-201015:21x64
Wamregps.dll7.0.6001.2272215,87201-Jul-201015:21x64
Admwprox.dll7.0.6002.2243654,78401-Jul-201016:04x64
Ahadmin.dll7.0.6002.2243661,44001-Jul-201016:04x64
Appcmd.exe7.0.6002.22436191,48801-Jul-201014:32x64
Appcmd.xmlNot Applicable3,65403-Apr-200920:38Not Applicable
Applicationhost.configNot Applicable7,99003-Apr-200920:38Not Applicable
Appobj.dll7.0.6002.22436379,39201-Jul-201016:04x64
Aspnetca.exe7.0.6002.22436218,62401-Jul-201014:32x64
Aspnet_schema.xmlNot Applicable38,80909-Feb-201009:17Not Applicable
Fx_schema.xmlNot Applicable27,10509-Feb-201009:17Not Applicable
Iismig.dll7.0.6002.22436242,68801-Jul-201016:10x64
Iisreg.dll7.0.6002.22436111,61601-Jul-201016:06x64
Iisres.dll7.0.6002.22436193,02401-Jul-201014:32x64
Iisreset.exe7.0.6002.2243616,89601-Jul-201014:31x64
Iisrstap.dll7.0.6002.2243611,26401-Jul-201016:06x64
Iisrstas.exe7.0.6002.2243634,81601-Jul-201014:31x64
Iisrtl.dll7.0.6002.22436192,51201-Jul-201016:06x64
Iissetup.exe7.0.6002.22436280,06401-Jul-201014:32x64
Iissyspr.dll7.0.6002.2243666,56001-Jul-201016:06x64
Iisutil.dll7.0.6002.22436276,99201-Jul-201016:06x64
Iis_schema.xmlNot Applicable79,61020-Feb-201018:11Not Applicable
Nativerd.dll7.0.6002.22436420,86401-Jul-201016:08x64
Redirection.configNot Applicable49003-Apr-200920:39Not Applicable
Rsca.dll7.0.6002.2243631,23201-Jul-201016:10x64
Rscaext.dll6.0.6002.2243644,03201-Jul-201016:10x64
Rscaext.xmlNot Applicable8,36303-Apr-200920:39Not Applicable
W3ctrlps.dll7.0.6002.2243613,82401-Jul-201016:11x64
Wamregps.dll7.0.6002.2243615,87201-Jul-201016:11x64
Iisw3adm.dll7.0.6001.22722424,96001-Jul-201015:17x64
W3tp.dll7.0.6001.2272218,43201-Jul-201015:21x64
W3wphost.dll7.0.6001.2272250,68801-Jul-201015:21x64
Wbhstipm.dll7.0.6001.2272228,67201-Jul-201015:21x64
Wbhst_pm.dll7.0.6001.2272224,06401-Jul-201015:21x64
Iisw3adm.dll7.0.6002.22436427,52001-Jul-201016:06x64
W3tp.dll7.0.6002.2243618,43201-Jul-201016:11x64
W3wphost.dll7.0.6002.2243651,71201-Jul-201016:11x64
Wbhstipm.dll7.0.6002.2243628,67201-Jul-201016:11x64
Wbhst_pm.dll7.0.6002.2243624,06401-Jul-201016:11x64
For all supported IA-64-based versions of Windows Server 2008
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Admwprox.dll7.0.6001.22722119,80801-Jul-201014:46IA-64
Ahadmin.dll7.0.6001.2272282,43201-Jul-201014:46IA-64
Appcmd.exe7.0.6001.22722404,99201-Jul-201013:53IA-64
Appcmd.xmlNot Applicable3,65425-Feb-201007:33Not Applicable
Applicationhost.configNot Applicable7,98925-Feb-201007:33Not Applicable
Appobj.dll7.0.6001.22722727,55201-Jul-201014:46IA-64
Aspnetca.exe7.0.6001.22722432,12801-Jul-201013:54IA-64
Aspnet_schema.xmlNot Applicable38,78625-Feb-201007:34Not Applicable
Fx_schema.xmlNot Applicable26,94325-Feb-201007:34Not Applicable
Iismig.dll7.0.6001.22722452,09601-Jul-201014:52IA-64
Iisreg.dll7.0.6001.22722143,87201-Jul-201014:49IA-64
Iisres.dll7.0.6001.22722193,02401-Jul-201013:53IA-64
Iisreset.exe7.0.6001.2272234,81601-Jul-201013:53IA-64
Iisrstap.dll7.0.6001.2272218,94401-Jul-201014:49IA-64
Iisrstas.exe7.0.6001.2272278,33601-Jul-201013:53IA-64
Iisrtl.dll7.0.6001.22722393,21601-Jul-201014:49IA-64
Iissetup.exe7.0.6001.22722543,23201-Jul-201013:54IA-64
Iissyspr.dll7.0.6001.22722134,65601-Jul-201014:49IA-64
Iisutil.dll7.0.6001.22722513,02401-Jul-201014:49IA-64
Iis_schema.xmlNot Applicable79,21325-Feb-201007:34Not Applicable
Nativerd.dll7.0.6001.22722907,77601-Jul-201014:50IA-64
Redirection.configNot Applicable49025-Feb-201007:34Not Applicable
Rsca.dll7.0.6001.2272274,24001-Jul-201014:52IA-64
Rscaext.dll6.0.6001.22722111,61601-Jul-201014:52IA-64
Rscaext.xmlNot Applicable8,36325-Feb-201007:34Not Applicable
W3ctrlps.dll7.0.6001.2272222,52801-Jul-201014:53IA-64
Wamregps.dll7.0.6001.2272228,16001-Jul-201014:53IA-64
Admwprox.dll7.0.6002.22436119,80801-Jul-201015:49IA-64
Ahadmin.dll7.0.6002.2243682,43201-Jul-201015:49IA-64
Appcmd.exe7.0.6002.22436404,99201-Jul-201014:27IA-64
Appcmd.xmlNot Applicable3,65403-Apr-200920:40Not Applicable
Applicationhost.configNot Applicable7,99003-Apr-200920:40Not Applicable
Appobj.dll7.0.6002.22436727,55201-Jul-201015:49IA-64
Aspnetca.exe7.0.6002.22436432,12801-Jul-201014:27IA-64
Aspnet_schema.xmlNot Applicable38,80909-Feb-201009:17Not Applicable
Fx_schema.xmlNot Applicable27,10509-Feb-201009:17Not Applicable
Iismig.dll7.0.6002.22436452,09601-Jul-201015:56IA-64
Iisreg.dll7.0.6002.22436143,87201-Jul-201015:52IA-64
Iisres.dll7.0.6002.22436193,02401-Jul-201014:26IA-64
Iisreset.exe7.0.6002.2243634,81601-Jul-201014:26IA-64
Iisrstap.dll7.0.6002.2243618,94401-Jul-201015:52IA-64
Iisrstas.exe7.0.6002.2243678,33601-Jul-201014:26IA-64
Iisrtl.dll7.0.6002.22436393,21601-Jul-201015:52IA-64
Iissetup.exe7.0.6002.22436543,23201-Jul-201014:27IA-64
Iissyspr.dll7.0.6002.22436134,65601-Jul-201015:52IA-64
Iisutil.dll7.0.6002.22436513,02401-Jul-201015:52IA-64
Iis_schema.xmlNot Applicable79,61020-Feb-201018:11Not Applicable
Nativerd.dll7.0.6002.22436914,94401-Jul-201015:54IA-64
Redirection.configNot Applicable49003-Apr-200920:40Not Applicable
Rsca.dll7.0.6002.2243674,24001-Jul-201015:56IA-64
Rscaext.dll6.0.6002.22436111,61601-Jul-201015:56IA-64
Rscaext.xmlNot Applicable8,36303-Apr-200920:40Not Applicable
W3ctrlps.dll7.0.6002.2243622,52801-Jul-201015:57IA-64
Wamregps.dll7.0.6002.2243628,16001-Jul-201015:57IA-64
Iisw3adm.dll7.0.6001.22722892,92801-Jul-201014:49IA-64
W3tp.dll7.0.6001.2272237,37601-Jul-201014:53IA-64
W3wphost.dll7.0.6001.22722118,78401-Jul-201014:53IA-64
Wbhstipm.dll7.0.6001.2272262,46401-Jul-201014:53IA-64
Wbhst_pm.dll7.0.6001.2272259,39201-Jul-201014:53IA-64
Iisw3adm.dll7.0.6002.22436898,56001-Jul-201015:52IA-64
W3tp.dll7.0.6002.2243637,37601-Jul-201015:57IA-64
W3wphost.dll7.0.6002.22436120,83201-Jul-201015:57IA-64
Wbhstipm.dll7.0.6002.2243662,46401-Jul-201015:57IA-64
Wbhst_pm.dll7.0.6002.2243659,39201-Jul-201015:57IA-64
 

WORKAROUND

To workaround this issue, restart the IIS server periodically.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

To reproduce this issue on a IIS 7.0 server that is running in a non-Cluster environment, save the following scripts in a vbs file. When you run the vbs file, a memory leak occurs in wscript.exe process. You notice the memory usage of wscript.exe process continuously increases by using Taks Manager.
SITES_SECTION_NAME = "system.applicationHost/sites"
APPLICATION_POOLS_SECTION_NAME = "system.applicationHost/applicationPools"
CONFIG_APPHOST_ROOT = "MACHINE/WEBROOT/APPHOST"

Do
LooksAlive()
WScript.Sleep(500)
Loop

Function LooksAlive( )

Dim adminManager, index

Set adminManager = CreateObject("Microsoft.ApplicationHost.AdminManager")
Set sitesSection = adminManager.GetAdminSection(SITES_SECTION_NAME, CONFIG_APPHOST_ROOT)

set configSection = adminManager.GetAdminSection(APPLICATION_POOLS_SECTION_NAME, CONFIG_APPHOST_ROOT)

Set adminManager = nothing
End Function
For more information about the clusweb7.vbs script, click the following article number to view the article in the Microsoft Knowledge Base:
970759 Configuring IIS 7.0 World Wide Web Publishing Service in a Microsoft Windows Server 2008 failover cluster
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Properties

Article ID: 2163398 - Last Review: July 21, 2011 - Revision: 4.1
APPLIES TO
  • Microsoft Internet Information Services 7.0
Keywords: 
kbautohotfix kbqfe kbHotfixServer kbexpertiseadvanced kbsurveynew KB2163398

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com