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.
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.
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:
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 name
File version
File size
Date
Time
Platform
Admwprox.dll
7.0.6001.22722
51,712
01-Jul-2010
14:54
x86
Ahadmin.dll
7.0.6001.22722
27,136
01-Jul-2010
14:54
x86
Appcmd.exe
7.0.6001.22722
154,112
01-Jul-2010
13:42
x86
Appcmd.xml
Not Applicable
3,654
04-Mar-2010
05:47
Not Applicable
Applicationhost.config
Not Applicable
7,989
04-Mar-2010
05:47
Not Applicable
Appobj.dll
7.0.6001.22722
311,808
01-Jul-2010
14:54
x86
Aspnetca.exe
7.0.6001.22722
182,784
01-Jul-2010
13:43
x86
Aspnet_schema.xml
Not Applicable
38,786
04-Mar-2010
05:48
Not Applicable
Fx_schema.xml
Not Applicable
26,943
04-Mar-2010
05:48
Not Applicable
Iismig.dll
7.0.6001.22722
209,408
01-Jul-2010
14:59
x86
Iisreg.dll
7.0.6001.22722
89,088
01-Jul-2010
14:56
x86
Iisres.dll
7.0.6001.22722
193,024
01-Jul-2010
13:42
x86
Iisreset.exe
7.0.6001.22722
14,848
01-Jul-2010
13:42
x86
Iisrstap.dll
7.0.6001.22722
8,192
01-Jul-2010
14:56
x86
Iisrstas.exe
7.0.6001.22722
31,232
01-Jul-2010
13:42
x86
Iisrtl.dll
7.0.6001.22722
153,600
01-Jul-2010
14:56
x86
Iissetup.exe
7.0.6001.22722
228,864
01-Jul-2010
13:43
x86
Iissyspr.dll
7.0.6001.22722
59,392
01-Jul-2010
14:56
x86
Iisutil.dll
7.0.6001.22722
202,752
01-Jul-2010
14:56
x86
Iis_schema.xml
Not Applicable
79,213
04-Mar-2010
05:48
Not Applicable
Nativerd.dll
7.0.6001.22722
333,312
01-Jul-2010
14:58
x86
Redirection.config
Not Applicable
490
04-Mar-2010
05:48
Not Applicable
Rsca.dll
7.0.6001.22722
26,624
01-Jul-2010
14:59
x86
Rscaext.dll
6.0.6001.22722
38,912
01-Jul-2010
14:59
x86
Rscaext.xml
Not Applicable
8,363
04-Mar-2010
05:48
Not Applicable
W3ctrlps.dll
7.0.6001.22722
9,216
01-Jul-2010
15:00
x86
Wamregps.dll
7.0.6001.22722
10,752
01-Jul-2010
15:00
x86
Admwprox.dll
7.0.6002.22436
51,712
01-Jul-2010
15:55
x86
Ahadmin.dll
7.0.6002.22436
27,136
01-Jul-2010
15:55
x86
Appcmd.exe
7.0.6002.22436
154,112
01-Jul-2010
14:09
x86
Appcmd.xml
Not Applicable
3,654
03-Apr-2009
20:43
Not Applicable
Applicationhost.config
Not Applicable
7,990
03-Apr-2009
20:43
Not Applicable
Appobj.dll
7.0.6002.22436
311,808
01-Jul-2010
15:55
x86
Aspnetca.exe
7.0.6002.22436
182,784
01-Jul-2010
14:10
x86
Aspnet_schema.xml
Not Applicable
38,809
09-Feb-2010
09:17
Not Applicable
Fx_schema.xml
Not Applicable
27,105
09-Feb-2010
09:17
Not Applicable
Iismig.dll
7.0.6002.22436
209,408
01-Jul-2010
16:01
x86
Iisreg.dll
7.0.6002.22436
89,088
01-Jul-2010
15:58
x86
Iisres.dll
7.0.6002.22436
193,024
01-Jul-2010
14:09
x86
Iisreset.exe
7.0.6002.22436
14,848
01-Jul-2010
14:09
x86
Iisrstap.dll
7.0.6002.22436
8,192
01-Jul-2010
15:58
x86
Iisrstas.exe
7.0.6002.22436
31,232
01-Jul-2010
14:09
x86
Iisrtl.dll
7.0.6002.22436
153,600
01-Jul-2010
15:58
x86
Iissetup.exe
7.0.6002.22436
228,864
01-Jul-2010
14:10
x86
Iissyspr.dll
7.0.6002.22436
59,392
01-Jul-2010
15:58
x86
Iisutil.dll
7.0.6002.22436
202,752
01-Jul-2010
15:58
x86
Iis_schema.xml
Not Applicable
79,610
20-Feb-2010
18:12
Not Applicable
Nativerd.dll
7.0.6002.22436
334,848
01-Jul-2010
16:00
x86
Redirection.config
Not Applicable
490
03-Apr-2009
20:45
Not Applicable
Rsca.dll
7.0.6002.22436
26,624
01-Jul-2010
16:01
x86
Rscaext.dll
6.0.6002.22436
38,912
01-Jul-2010
16:01
x86
Rscaext.xml
Not Applicable
8,363
03-Apr-2009
20:45
Not Applicable
W3ctrlps.dll
7.0.6002.22436
9,216
01-Jul-2010
16:02
x86
Wamregps.dll
7.0.6002.22436
10,752
01-Jul-2010
16:02
x86
Iisw3adm.dll
7.0.6001.22722
371,712
01-Jul-2010
14:56
x86
W3tp.dll
7.0.6001.22722
15,872
01-Jul-2010
15:00
x86
W3wphost.dll
7.0.6001.22722
46,592
01-Jul-2010
15:00
x86
Wbhstipm.dll
7.0.6001.22722
24,064
01-Jul-2010
15:00
x86
Wbhst_pm.dll
7.0.6001.22722
22,528
01-Jul-2010
15:00
x86
Iisw3adm.dll
7.0.6002.22436
374,272
01-Jul-2010
15:58
x86
W3tp.dll
7.0.6002.22436
15,872
01-Jul-2010
16:02
x86
W3wphost.dll
7.0.6002.22436
48,128
01-Jul-2010
16:02
x86
Wbhstipm.dll
7.0.6002.22436
24,064
01-Jul-2010
16:02
x86
Wbhst_pm.dll
7.0.6002.22436
22,528
01-Jul-2010
16:02
x86
For all supported x64-based versions of Windows Vista and of Windows Server 2008
Collapse this tableExpand this table
File name
File version
File size
Date
Time
Platform
Admwprox.dll
7.0.6001.22722
54,784
01-Jul-2010
15:14
x64
Ahadmin.dll
7.0.6001.22722
61,440
01-Jul-2010
15:14
x64
Appcmd.exe
7.0.6001.22722
191,488
01-Jul-2010
14:09
x64
Appcmd.xml
Not Applicable
3,654
26-Feb-2010
04:06
Not Applicable
Applicationhost.config
Not Applicable
7,989
26-Feb-2010
04:06
Not Applicable
Appobj.dll
7.0.6001.22722
379,392
01-Jul-2010
15:14
x64
Aspnetca.exe
7.0.6001.22722
218,624
01-Jul-2010
14:10
x64
Aspnet_schema.xml
Not Applicable
38,786
26-Feb-2010
04:06
Not Applicable
Fx_schema.xml
Not Applicable
26,943
26-Feb-2010
04:07
Not Applicable
Iismig.dll
7.0.6001.22722
242,688
01-Jul-2010
15:20
x64
Iisreg.dll
7.0.6001.22722
111,616
01-Jul-2010
15:17
x64
Iisres.dll
7.0.6001.22722
193,024
01-Jul-2010
14:09
x64
Iisreset.exe
7.0.6001.22722
16,896
01-Jul-2010
14:09
x64
Iisrstap.dll
7.0.6001.22722
11,264
01-Jul-2010
15:17
x64
Iisrstas.exe
7.0.6001.22722
34,816
01-Jul-2010
14:09
x64
Iisrtl.dll
7.0.6001.22722
192,512
01-Jul-2010
15:17
x64
Iissetup.exe
7.0.6001.22722
280,064
01-Jul-2010
14:10
x64
Iissyspr.dll
7.0.6001.22722
66,560
01-Jul-2010
15:17
x64
Iisutil.dll
7.0.6001.22722
275,456
01-Jul-2010
15:17
x64
Iis_schema.xml
Not Applicable
79,213
26-Feb-2010
04:07
Not Applicable
Nativerd.dll
7.0.6001.22722
419,840
01-Jul-2010
15:18
x64
Redirection.config
Not Applicable
490
26-Feb-2010
04:07
Not Applicable
Rsca.dll
7.0.6001.22722
31,232
01-Jul-2010
15:20
x64
Rscaext.dll
6.0.6001.22722
44,032
01-Jul-2010
15:20
x64
Rscaext.xml
Not Applicable
8,363
26-Feb-2010
04:07
Not Applicable
W3ctrlps.dll
7.0.6001.22722
13,824
01-Jul-2010
15:21
x64
Wamregps.dll
7.0.6001.22722
15,872
01-Jul-2010
15:21
x64
Admwprox.dll
7.0.6002.22436
54,784
01-Jul-2010
16:04
x64
Ahadmin.dll
7.0.6002.22436
61,440
01-Jul-2010
16:04
x64
Appcmd.exe
7.0.6002.22436
191,488
01-Jul-2010
14:32
x64
Appcmd.xml
Not Applicable
3,654
03-Apr-2009
20:38
Not Applicable
Applicationhost.config
Not Applicable
7,990
03-Apr-2009
20:38
Not Applicable
Appobj.dll
7.0.6002.22436
379,392
01-Jul-2010
16:04
x64
Aspnetca.exe
7.0.6002.22436
218,624
01-Jul-2010
14:32
x64
Aspnet_schema.xml
Not Applicable
38,809
09-Feb-2010
09:17
Not Applicable
Fx_schema.xml
Not Applicable
27,105
09-Feb-2010
09:17
Not Applicable
Iismig.dll
7.0.6002.22436
242,688
01-Jul-2010
16:10
x64
Iisreg.dll
7.0.6002.22436
111,616
01-Jul-2010
16:06
x64
Iisres.dll
7.0.6002.22436
193,024
01-Jul-2010
14:32
x64
Iisreset.exe
7.0.6002.22436
16,896
01-Jul-2010
14:31
x64
Iisrstap.dll
7.0.6002.22436
11,264
01-Jul-2010
16:06
x64
Iisrstas.exe
7.0.6002.22436
34,816
01-Jul-2010
14:31
x64
Iisrtl.dll
7.0.6002.22436
192,512
01-Jul-2010
16:06
x64
Iissetup.exe
7.0.6002.22436
280,064
01-Jul-2010
14:32
x64
Iissyspr.dll
7.0.6002.22436
66,560
01-Jul-2010
16:06
x64
Iisutil.dll
7.0.6002.22436
276,992
01-Jul-2010
16:06
x64
Iis_schema.xml
Not Applicable
79,610
20-Feb-2010
18:11
Not Applicable
Nativerd.dll
7.0.6002.22436
420,864
01-Jul-2010
16:08
x64
Redirection.config
Not Applicable
490
03-Apr-2009
20:39
Not Applicable
Rsca.dll
7.0.6002.22436
31,232
01-Jul-2010
16:10
x64
Rscaext.dll
6.0.6002.22436
44,032
01-Jul-2010
16:10
x64
Rscaext.xml
Not Applicable
8,363
03-Apr-2009
20:39
Not Applicable
W3ctrlps.dll
7.0.6002.22436
13,824
01-Jul-2010
16:11
x64
Wamregps.dll
7.0.6002.22436
15,872
01-Jul-2010
16:11
x64
Iisw3adm.dll
7.0.6001.22722
424,960
01-Jul-2010
15:17
x64
W3tp.dll
7.0.6001.22722
18,432
01-Jul-2010
15:21
x64
W3wphost.dll
7.0.6001.22722
50,688
01-Jul-2010
15:21
x64
Wbhstipm.dll
7.0.6001.22722
28,672
01-Jul-2010
15:21
x64
Wbhst_pm.dll
7.0.6001.22722
24,064
01-Jul-2010
15:21
x64
Iisw3adm.dll
7.0.6002.22436
427,520
01-Jul-2010
16:06
x64
W3tp.dll
7.0.6002.22436
18,432
01-Jul-2010
16:11
x64
W3wphost.dll
7.0.6002.22436
51,712
01-Jul-2010
16:11
x64
Wbhstipm.dll
7.0.6002.22436
28,672
01-Jul-2010
16:11
x64
Wbhst_pm.dll
7.0.6002.22436
24,064
01-Jul-2010
16:11
x64
For all supported IA-64-based versions of Windows Server 2008
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: