Article ID: 911822 - View products that this article applies to.
Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/256986/ )Description of the Microsoft Windows registry
Consider the following scenario. You run Microsoft Internet Information Services (IIS) version 6.0 on a computer that is running Microsoft Windows Server 2003. You host an application that processes a very large amount of static file requests. In this scenario, the worker process of the application may use lots of memory. As the process continues to run, a decreasing amount of memory is available over time. Eventually, the process may run out of memory to allocate.
IIS 6.0 keeps a user mode cache entry for each Internet Server API (ISAPI) response that is sent back to the clients through the Http.sys file. This user mode cache entry has an infinite Time to Live (TTL). When the application data changes, IIS 6.0 uses this user mode cache entry to flush the kernel mode cache entry from the Http.sys file. The design of IIS 6.0 makes sure that the clients are always served with the latest data. For an application that processes a very large amount of static file requests, the cached response for such requests remains in user mode memory until IIS 6.0 is recycled.
Service pack informationTo resolve this problem, obtain the latest service pack for Windows Server 2003. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/889100/ )How to obtain the latest service pack for Windows Server 2003
Hotfix informationA supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. 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 Web site:
http://support.microsoft.com/contactus/?ws=supportNote 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.
Registry informationWarning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
After you apply this hotfix, you must add and configure the DontFlushCachedIsapiResponses registry entry to disable the user mode tracking and the flushing of cached ISAPI responses. To do this, follow these steps:
PrerequisitesTo apply this hotfix, you must have Windows Server 2003 with Service Pack 1 (SP1) installed on the computer.
Restart requirementYou do not have to restart the computer after you apply this hotfix.
Hotfix replacement informationThis hotfix does not replace any other hotfixes.
File informationThe 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 tool in Control Panel.
Collapse this tableExpand this table
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in Windows Server 2003 Service Pack 2.
By applying this hotfix and by using the new registry entry, you can disable the user mode tracking and the flushing of cached ISAPI responses.
Important We highly recommend that you contact Microsoft Product Support Services and have the problem diagnosed before you disable this feature. Regardless of where memory leaks occur, memory leaks generally exhibit the same behavior. However, the root cause for each memory leak may be different.
Disabling this feature has several side effects. For example, IIS 6.0 will no longer invalidate the cached ISAPI responses. If any metadata changes, the change will not flush the cache. For example, if an anonymous response was cached in kernel (Http.sys) and you changed the virtual directory to require Basic Authentication, the change will not flush the cache. The Http.sys file will still return the data to anonymous requests. Disabling this feature may only be effective in certain circumstances and may not be a good choice for everyone.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/824684/ )Description of the standard terminology that is used to describe Microsoft software updates
Contact us for more help
Connect with Answer Desk for expert help.