ILSUsers PerfMon Counter Not Tracking Number of Users Correctly

ID: Q172933


The information in this article applies to:


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 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):

S E R V P A C K
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 words:


Keywords          : 
Version           : WINNT: 1.0,2.0
Platform          : winnt 
Issue type        : kbbug 

Last Reviewed: July 20, 1999