FIX: High CPU Usage When SNMP Retrieves Performance Counters

ID: Q130563


The information in this article applies to:
  • Microsoft Win32 Software Development Kit (SDK), version 3.5


SYMPTOMS

When an SNMP extension agent tries to retrieve performance counters, CPU utilization jumps to 100 percent.


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem was corrected in Windows NT version 3.51.


MORE INFORMATION

If an SNMP extension agent tries to retrieve performance counters as in the following example, the CPU utilization is observed to jump to 100 percent and stay there until the SNMP service is stopped.


   RegOpenKeyEx(...);
   .
   .
   RegQueryValueEx(HKEY_PERFORMANCE_DATA,
   ...) 
To see this, use the Performance Monitor tool in the Administrative Tools program group.

The same problem can occur when an application is trying to retrieve TCP/IP performance counters and the Internet MIB II agent is being used to retrieve the counters.


REFERENCES

For more information, please see the Windows NT 3.5 Resource Kit Vol IV.

Additional query words:

Keywords : kbnetwork kbAPI kbNTOS350bug kbNTOS351fix kbSDKPlatform kbSNMP kbGrpNet
Version : WINDOWS:3.5
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: January 6, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.