Negative pending connections at connection broker

Björn Fischer 1 Reputation point
2020-11-05T15:20:33.127+00:00

We are monitoring our RDS connection broker with performance counters. The counters are documented in 1. In particular we observe the pending connections, which, as far as I understand, is a gauge returning the currently pending connections. We had some logon problems and the pending connections increased during that time. A restart of the connection broker partially solved the logon problem. However, after the restart the performance counter reported negative pending connections.

37707-image.png

Is there a meaning behind negative pending connections or is the performance counter faulty?

1 https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/mt729067(v%3Dws.11)

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,604 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Eleven Yu (Shanghai Wicresoft Co,.Ltd.) 10,756 Reputation points Microsoft Vendor
    2020-11-06T02:44:18.093+00:00

    Hi,

    There is no meaning of the negative pending connections. This should be the performance counter error.

    Below article lists the possible status values for counters. Three of them indicate the "negative value error".
    https://learn.microsoft.com/en-us/windows/win32/perfctrs/checking-pdh-interface-return-values
    37788-image.png

    You can also refer to below post for suppressing errors from perfmon counters.
    http://commonlrissues.blogspot.com/2012/09/is-there-way-to-suppress-errors-from.html

    Hope the information helps.

    Thanks,
    Eleven

    ----------

    If the Answer is helpful, please click "Accept Answer" and upvote it.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.