Performance Monitor Shows 4294967293 Active Sessions

I have an ASP.Net 3.5 website running in IIS 6 on Windows Server 2003 R2. This is a relatively small internal application that probably serves less than ten users at any given time. The server has 4 Gig of memory and shows that 3+ Gig is available while the site is active.

A few minutes after restarting the web application, the Performance Monitor shows that 4,294,967,293 sessions are active! I am quite sure that this number is incorrect; at that time, when in this reading there were only 100 requests to the website.

Has anyone else experienced such strange behavior from perf mon? Any ideas on how to get an accurate reading?

UPDATE: after starting about an hour, the number of active sessions has decreased by 4. Thus, it looks like it is responding to session timeouts.

+3
source share
6 answers

There may be an overflow, but my money is on stream. I think the program started with 0 people, someone logged out, and then the number of sessions was negative.

+9
source

Well, 2 ^ 32 = 4,294,967,296, so it sounds like there is an overflow. I can’t say exactly why.

+9
source

. , MS : http://support.microsoft.com/kb/969722

9/10/2009: - MS . . .NET 2.0, .

+8

, 4 294 967 268.

, , 1, 1. = 16, , , 4 294 967 84.

?

+1

, , (, , 2 ^ 32, ). , , , . .

, , , - - , . , . , , . ...

...

+1
source

If you need to use existing statistics, I opened the log file in Excel and used the formula to get a more accurate value. I cannot guarantee its accuracy, but the results looked good:

If B2 is (aspnet_wp) \ Session the active value and the formula is in C2

/* This one is quicker as it doesn't have to do the extra calculations */
=IF(B2>1073741824,4294967296-B2,B2)

or

/* This one is clearer what is going on */
=IF(B2>power(2,30),(4*power(2,30))-B2,B2)

PS (I feel your pain - I have to explain why they have 4.2 billion sessions, whereas in second place they had 0!)

+1
source

All Articles