Performance Data Helper Queries Do Not Work After 15-Second Timeout (315700)
The information in this article applies to:
- Microsoft Windows 2000 Server SP1
- Microsoft Windows 2000 Server SP2
- Microsoft Windows 2000 Advanced Server SP1
- Microsoft Windows 2000 Advanced Server SP2
- Microsoft Windows 2000 Professional SP1
- Microsoft Windows 2000 Professional SP2
This article was previously published under Q315700 SYMPTOMS
When you are using Performance Data Helper (PDH) in a multithreaded program, all PDH queries in the process may return HRESULT 0x00000102. When this occurs, all queries stop, and the program appears to stop responding (hang) for 15 seconds. After this initial symptom, all API calls to query PDH fail after 15-second timeouts.
CAUSE
PDH is a thread-safe way of programmatically gathering performance data. It is thread safe because of a mutex that controls access to internal
objects. PDH loses control over this mutex, and then becomes unusable in the process.
RESOLUTIONTo 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
The English version of this fix should have the following file attributes or later: Date Time Version Size File name
---------------------------------------------------
10-Jan-2002 10:26 5.0.2195.48 152,848 Pdh.dll
STATUSMicrosoft 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.
Modification Type: | Minor | Last Reviewed: | 9/27/2005 |
---|
Keywords: | kbHotfixServer kbQFE kbbug kbenv kbfix kbSysAdmin kbWin2000PreSP3Fix kbWin2000sp3fix KB315700 |
---|
|