ILSUsers PerfMon Counter Not Tracking Number of Users Correctly

Last reviewed: March 6, 1998
Article ID: Q172933
The information in this article applies to:
  • Microsoft Commercial Internet System version 1.0 - Microsoft Internet Locator Server (ILS)

SYMPTOMS

The ILSUsers Performance Monitor counter may not accurately track the number of ILS users. The ILSUsers counter may show a few users when no one is actually online. Or, the counter may show more than 4 billion users.

CAUSE

An increment is done without a corresponding decrement. When ILS increments the counter, a simple ILSUser++ is being called instead of using InterlockedIncrement()/Decrement(). The two threads could be trying to update the counter at the same time. (This is more likely to occur on a multi-processor computer.) This problem can randomly cause more decrements than increments, resulting in a DWORD value wrapping past 0 to approximately 4294967295 users.

STATUS

Microsoft has confirmed this to be a problem in Microsoft Commercial Internet System version 1.0. A supported fix is now available, but is not fully regression-tested and should be applied only to systems experiencing this specific problem. Unless you are severely impacted by this specific problem, Microsoft recommends that you wait for the next Service Pack that contains this fix. Contact Microsoft Product Support Services for more information.

Additional query word: prodmcis

Keywords          : cisils
Version           : 1.00
Platform          : winnt
Hardware          : x86
Issue type        : kbbug
Solution Type     : kbfix


================================================================================


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: March 6, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.