FIX: High CPU Usage When SNMP Retrieves Performance Counters (130563)



The information in this article applies to:

  • Microsoft Win32 Software Development Kit (SDK) 3.5

This article was previously published under Q130563

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.

Modification Type:MinorLast Reviewed:3/7/2005
Keywords:kbAPI kbBug kbfix kbnetwork kbOSWinNT351fix kbSNMP KB130563