B
Brendan Kay
Hi there,
We have an ASP.Net application that is generating huge numbers of Context
Switches when a certain number of active users are present. We tried changing
the configuration of the Application Pool to use a Web Garden and the number
of Context Switches decreased by more than 95% (that's the good news).
Our problem is that we have something in our session state that cannot be
serialized and therefore we cannot use StateServer for the Session mode.
We have been trying to find a way to get all requests associated with a
specific session to be dispatched to the one worker process. The Microsoft KB
article at http://support.microsoft.com/default.aspx/kb/822171 says:
"If an application keeps a connection alive and uses the same source port,
the requests are routed back to the same worker process."
We cannot seem to get this to occur for us. Does this apply to http requests
or is it only referring to ftp and other protocols served by IIS?
We have found plenty of places that state categorically that InProc session
state cannot be used with Web Gardens but we are hoping that the KB article
above knows something that they don't. Can anyone help us to tie particular
sessions to particular worker processes?
Thanks,
Brendan
We have an ASP.Net application that is generating huge numbers of Context
Switches when a certain number of active users are present. We tried changing
the configuration of the Application Pool to use a Web Garden and the number
of Context Switches decreased by more than 95% (that's the good news).
Our problem is that we have something in our session state that cannot be
serialized and therefore we cannot use StateServer for the Session mode.
We have been trying to find a way to get all requests associated with a
specific session to be dispatched to the one worker process. The Microsoft KB
article at http://support.microsoft.com/default.aspx/kb/822171 says:
"If an application keeps a connection alive and uses the same source port,
the requests are routed back to the same worker process."
We cannot seem to get this to occur for us. Does this apply to http requests
or is it only referring to ftp and other protocols served by IIS?
We have found plenty of places that state categorically that InProc session
state cannot be used with Web Gardens but we are hoping that the KB article
above knows something that they don't. Can anyone help us to tie particular
sessions to particular worker processes?
Thanks,
Brendan