Sorry, I posted half of this already by mistake. Here's the post in
its entirety.
OVERVIEW:
Inexplicable random loss of ASP session variables on website member
areas and client administration sections. No hard correlations can be
seen with worker process recycling, modifications to worker process settings, or
endless beating of my head against the wall.
DETAILS:
The loss of session variables goes in spurts of better and worse.
During better times, we might lose session variables every few hours, but at bad
times we'll lose them every few minutes.
All session variables are manually destroyed on Application_onEnd, so
in theory we're not endlessly creating session variables that aren't being
destroyed.
Has anyone ever experienced problems like this? Does anyone know of a
work around that we can use temporarily?
I suspect that the problem may be associated with the w3wp.exe worker
process and the DefaultAppPool Settings so I have included some of those
settings:
SETUP: Windows 2003 Server, IIS 6.0, P4 (2.0 Ghz), 1 GB ram
IIS 6.0 DefaultAppPool SETTINGS (options not included are unchecked or
unspcified):
-------------
Recycling Tab
-------------
Recycle Worker Process... = 03:00 AM
Memory Recycling
- Maximum Virtual Mem = 500 MB
- Maximum Used Mem = 500 MB
-----------
Performance
-----------
Idle Timeout
- Shutdown worker process after being idle for = 20 min
Enable CPU Monitoring - checked
- Max CPU usage = 100%
- Refresh - 5 min
- Action performed - no action
Web garden
- Maximum number of worker processes = 1
------
Health
------
Enable Pinging - 30 sec
Enable Rapid-Fire Protection - failures: 100, time: 5 min
Start up time limit - 90
Shutdown time limit - 3
Any information that anyone could give would be greatly appreciated!
- Chris
>> Stay informed about: Session Variable Loss with IIS 6.0 Windows 2003 Server