After you use the Clusweb7.vbs script to configure the following service in a Windows Server 2008 R2 Service Pack 1 (SP1) failover cluster, a memory leak occurs in the Resource Hosting Subsystem (Rhs.exe) process:
Internet Information Services (IIS) 7.5 World Wide Web Publishing Service (W3SVC)
Therefore, the Rhs.exe process continuously increases its memory usage.
When this issue occurs, an out of memory condition may occur in the clustered W3SVC service.
The Clusweb7.vbs script is described in the Microsoft Knowledge Base (KB) article 970759.
This issue does not occur when you use IIS 7.5 in a Windows Server 2008 R2 failover cluster.
This issue occurs because the memory of IAppHostElement objects is not released.
When the Clusweb7.vbs script runs, the GetAdminSection function allocates memory to merge one or more individual IAppHostElement objects. These objects are used at one or more locations in the path hierarchy. However, the memory for these objects is not released. Therefore, the memory leak that is described in the "Symptoms" section occurs when the LooksAlive function in the Clusweb7.vbs script calls the GetAdminSection function.
Note This issue occurs in only Windows Server 2008 R2 SP1 because the GetAdminSection function is internally introduced as a new feature in Windows Server 2008 R2 SP1.
A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might 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.
If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.
Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website:
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.
To apply this hotfix, you must have IIS 7.5 installed on a computer that is running Windows Server 2008 R2 SP1.
After you install this hotfix, you must restart the computer if IIS was running when you install this hotfix.
Hotfix replacement information
This hotfix does not replace a previously-released hotfix.
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 7
For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
For all supported IA-64–based versions of Windows Server 2008 R2
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.
To work around this issue, restart the computer that is running the IIS service.
To reproduce this issue on an IIS 7.5 server in a non-cluster environment, run the following script that is in the Clusweb7.vbs script:
Note When you run this script, a memory leak occurs in the Wscript.exe process. You can use Task Manager to monitor the memory usage of the Wscript.exe process.
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 Windows Server 2008 failover cluster
Note The article 970759 applies to also Windows Server 2008 R2.
A similar issue occurs when you use Internet Information Services (IIS) 7.0 in a Windows Server 2008 failover cluster. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
2163398 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
Additional file information
Additional files for all supported x86-based versions of Windows 7