Microsoft KB Archive/172933

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Knowledge Base


ILSUsers PerfMon Counter Not Tracking Number of Users Correctly

Article ID: 172933

Article Last Modified on 2/20/2004



APPLIES TO

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



This article was previously published under Q172933


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.

Keywords: kbbug kbfix kbqfe KB172933