Microsoft KB Archive/319798

= DCOM Rundown Mechanism Cannot Keep Up with High Demand =

Article ID: 319798

Article Last Modified on 6/5/2003

-

APPLIES TO


 * Microsoft COM+ 1.0, when used with:
 * Microsoft Windows 2000 Standard Edition

-



This article was previously published under Q319798



SYMPTOMS
When you use the Distributed Component Object Model (DCOM) rundown mechanism to run down a large number of abandoned objects in a server apartment, the cleanup does not occur in a timely fashion. This may lead to a resource leak.



CAUSE
This problem occurs as a result of a previous fix. For additional information about this fix, click the article number below to view the article in the Microsoft Knowledge Base:

309615 FIX: Memory Leak in Svchost.exe

The fix from Q309615 switches the rundown calls from synchronous to asynchronous. In addition, this fix allows only one rundown call for each server apartment, that is, for both the multithreaded apartment (MTA) and the single-threaded apartment (STA).

Because of this restriction, when an outstanding rundown call to the apartment already exists, objects that need to be cleaned up must wait six additional minutes before the rundown occurs. In addition, because only a few objects are run down or cleaned up for each call, resources are not released in a timely fashion.



RESOLUTION
To resolve this problem, obtain Microsoft COM+ Hotfix Rollup 19. For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

318105 INFO: Availability of Windows 2000 Post-Service Pack 2 COM+ Hotfix Rollup Package 19

To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to Obtain the Latest Windows 2000 Service Pack



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows 2000 Service Pack 3.



MORE INFORMATION
To resolve this problem, a new rundown call is issued on the remaining objects immediately after the current, pending rundown call returns if objects need to be run down in the apartment. This effectively eliminates the six-minute delay. In addition, COM+ Hotfix Rollup 19 cleans up more objects for each rundown call.

For additional information about how to obtain a hotfix for Windows 2000 Datacenter Server, click the article number below to view the article in the Microsoft Knowledge Base:

265173 The Datacenter Program and Windows 2000 Datacenter Server Product

For additional information about how to install multiple hotfixes with only one reboot, click the article number below to view the article in the Microsoft Knowledge Base:

296861 Use QChain.exe to Install Multiple Hotfixes with One Reboot

Additional query words: kbIISCom kbWin2000preSP3COMRollup19Fix

Keywords: kbbug kbfix kbwin2000presp3fix kbwin2000sp3fix KB319798

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.