Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/172933

From BetaArchive Wiki
Knowledge Base

ILSUsers PerfMon Counter Not Tracking Number of Users Correctly

Article ID: 172933

Article Last Modified on 2/20/2004


  • Microsoft Site Server 2.0 Standard Edition
  • Microsoft Commercial Internet System 1.0 Service Pack 2

This article was previously published under Q172933


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.


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.


Microsoft has confirmed this to be a problem in Microsoft Site Server version 2.0.

This problem has been corrected in the latest U.S. Service Pack for Microsoft Site Server version 2.0. For information on obtaining the service pack, query on the following word in the Microsoft Knowledge Base (without the spaces):


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.

Keywords: kbbug kbfix kbqfe KB172933