Microsoft KB Archive/268835

= FIX: ClusterResourceControl May Leak Memory =

PSS ID Number: 268835

Article Last Modified on 7/11/2002

-

The information in this article applies to:

 Microsoft Cluster Server 1.0, when used with:  Microsoft Windows NT Server 4.0

 Microsoft Windows NT Server 4.0 SP1

 Microsoft Windows NT Server 4.0 SP2

 Microsoft Windows NT Server 4.0 SP3</li></ul>

 Microsoft Windows NT Server 4.0 SP4</li></ul>

 Microsoft Windows NT Server 4.0 SP5</li></ul>

 Microsoft Windows NT Server 4.0 SP6</li></ul>

 Microsoft Windows NT Server 4.0 SP6a</li></ul>

 Microsoft Windows NT Server, Enterprise Edition 4.0</li></ul>

 Microsoft Windows NT Server, Enterprise Edition 4.0 SP4</li></ul>

 Microsoft Windows NT Server, Enterprise Edition 4.0 SP5</li></ul>

 Microsoft Windows NT Server, Enterprise Edition 4.0 SP6</li></ul>

<ul> <li>Microsoft Windows NT Server, Enterprise Edition 4.0 SP6a</li></ul> </li> <li>Microsoft Cluster Server 1.1, when used with: <ul> <li>Microsoft Windows NT Server 4.0</li></ul>

<ul> <li>Microsoft Windows NT Server 4.0 SP1</li></ul>

<ul> <li>Microsoft Windows NT Server 4.0 SP2</li></ul>

<ul> <li>Microsoft Windows NT Server 4.0 SP3</li></ul>

<ul> <li>Microsoft Windows NT Server 4.0 SP4</li></ul>

<ul> <li>Microsoft Windows NT Server 4.0 SP5</li></ul>

<ul> <li>Microsoft Windows NT Server 4.0 SP6</li></ul>

<ul> <li>Microsoft Windows NT Server 4.0 SP6a</li></ul>

<ul> <li>Microsoft Windows NT Server, Enterprise Edition 4.0</li></ul>

<ul> <li>Microsoft Windows NT Server, Enterprise Edition 4.0 SP4</li></ul>

<ul> <li>Microsoft Windows NT Server, Enterprise Edition 4.0 SP5</li></ul>

<ul> <li>Microsoft Windows NT Server, Enterprise Edition 4.0 SP6</li></ul>

<ul> <li>Microsoft Windows NT Server, Enterprise Edition 4.0 SP6a</li></ul> </li></ul>

-

<div class="notice_section">

This article was previously published under Q268835

<div class="symptoms_section">

SYMPTOMS
The ClusterResourceControl function may leak a multiple of 4K of memory when called. This only occurs when the CLUSCTL_RESOURCE_STORAGE_GET_DISK_INFO control code is used to query a disk on one node if at least one disk is present on the other node. The leak occurs in System nonpaged pool memory. The amount of memory that is leaked is dependent on the number of shared disks that are not currently owned by the target node.

<div class="cause_section">

CAUSE
The ClusterResourceControl API calls the DeviceIOControl function and then enumerates a list of shared disks attached to the system. If a shared disk is encountered that is not owned by that node, then an error code is returned but the memory that is allocated from DeviceIOControl is not freed.

See the &quot;References&quot; section of this article for information about a similar bug.

<div class="resolution_section">

RESOLUTION
A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem. This fix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Windows NT 4.0 service pack that contains this fix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS

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 typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of the Windows NT Server and Windows NT Workstation fix should have the following file attributes or later:

<pre class="fixed_text">  Date      Time                 Size    File name     Platform -  10/28/1999  07:10p           1,405,248 Ntkrnlmp.exe  Alpha 10/28/1999 07:10p           1,376,896 Ntoskrnl.exe  Alpha

10/28/1999 07:13p             952,192 Ntkrnlmp.exe  i386 10/28/1999 07:12p             932,032 Ntoskrnl.exe  i386

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in Windows NT 4.0.

This problem was corrected in Windows 2000.

<div class="references_section">