Re: IIS 6 Session Restarts
From: Eric W. (weisteri_at_pentamation.nospam.com)
Date: 08/09/04
- Next message: Mike Conkey: "Re: Hosting domain on Win2k3"
- Previous message: Mike D: "Certificate backup"
- In reply to: David Wang [Msft]: "Re: IIS 6 Session Restarts"
- Next in thread: David Wang [Msft]: "Re: IIS 6 Session Restarts"
- Reply: David Wang [Msft]: "Re: IIS 6 Session Restarts"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 9 Aug 2004 06:59:01 -0700
Hi David,
The idle timeout for the app pool is set to 20 minutes which is what our
session timeout is set to. I doubt that this could be the cause anyway,
since we have approximately 75 concurrent users typically accessing the
application at any given time during normal hours of operation.
We do have the application being load balanced using the Load Balancing
service. However, we only are load balancing to a single server right now.
We're in the middle of building 2 more servers to add to the load balancing
scheme, but for now, it's just a single server. I checked and the Affinity
flag is set to Single. Is there some other load balancing setting we may be
missing?
Thanks,
Eric
"David Wang [Msft]" wrote:
> FAQ.
>
> ASP Session state is in-process, meaning it is lost if the worker process
> (w3wp.exe) dies/recycles or if the worker process is in a Web Garden (i.e.
> session state with one w3wp of the Web Garden is not communicated with
> another w3wp of the same Web Garden).
>
> Thus, your situation can happen if:
> 1. You are using Web Garden
> 2. You are running code that is crashing w3wp, causing you to lose all
> session state in that w3wp
> 3. IIS6 is recycling the worker process. Default configuration has w3wp
> recycling every 29 hours or after 15 minutes of idle timeout as
> "preventative" measures.
>
> I suspect the 15 minutes of idle timeout is what you are seeing. If so, I
> suggest that you set the idle timeout to be > session timeout to prevent
> idle timeout from trumping the session timeout when it comes to in-process
> state.
>
> --
> //David
> IIS
> This posting is provided "AS IS" with no warranties, and confers no rights.
> //
> "Eric W." <weisteri@pentamation.nospam.com> wrote in message
> news:E59AE583-581C-44B9-91F0-C615A9E929EA@microsoft.com...
> I have an ASP app running on IIS 6 on Windows Server 2003 Standard Edition.
> I have the app set for a session timeout of 20 minutes. In my global.asa
> file, the user is directed to the application's home page when their session
> starts. Sometimes the timeout of 20 minutes is what the user encounters,
> but
> there are plenty of times that this is not the case. There are times they
> will be sent back to the application home page well under the 20 minute app
> setting.
>
> I've enabled logging of all application pool recycling and nothing shows up
> so I doubt the application pool is recycling.
>
> Does anyone have any suggestions?
>
>
>
- Next message: Mike Conkey: "Re: Hosting domain on Win2k3"
- Previous message: Mike D: "Certificate backup"
- In reply to: David Wang [Msft]: "Re: IIS 6 Session Restarts"
- Next in thread: David Wang [Msft]: "Re: IIS 6 Session Restarts"
- Reply: David Wang [Msft]: "Re: IIS 6 Session Restarts"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|