PRB: Querying for TCP Performance Data Returns Unchanged

Last reviewed: October 2, 1997
Article ID: Q174568
The information in this article applies to:
  • Microsoft Win32 Application Programming Interface (API) included with: - Microsoft Windows NT versions 3.51, 4.0

SYMPTOMS

A performance monitoring application that uses RegQueryValueEx to take samples of TCP related performance data will not gather any data, or the data buffer returns unchanged for these object counters. In some configurations, the process using RegQueryValueEx may show a growth in Private Bytes usage. Depending on how often the data is queried, the application will eventually cause the system to page excessively and make the system sluggish.

CAUSE

The SNMP service is not installed. These counters require the SNMP service.

RESOLUTION

Install and start the SNMP service.

STATUS

This behavior is by design.

MORE INFORMATION

In order for the performance registry to deliver data for TCP, IP, ICMP, or UDP objects, you must have the SNMP service installed.

For additional information about getting TCP related data and installing the SNMP service, please search the Microsoft Knowledge Base using these words:

   TCP IP ICMP UDP SNMP

The respective performance data indexes for the TCP related counters (TCP, IP, ICMP, and UDP) are 638, 546, 582, and 658.


Additional query words: crash leak bug
Keywords : BsePerfmon NtwkMisc NtwkSnmp NtwkTcpip
Version : WINNT:3.51,4.0
Platform : winnt
Issue type : kbprb


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 2, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.