G
Guest
We are hosting our ASP.NET application on a multi-proc (4) machine but we're using InProc session state. Machine.Config has webGarden=false at the moment and only one ASP.NET worker process in running. Therefore, my guess is that running on a multi-proc box is wasted because only 1 CPU is being used - is this correct
My understanding is that in order to make use of all 4 CPU's we need to
1. Change machine.config (webGarden=true + cpuMask=0x0f
2. Configure web.config to use either the StateServer or SQL Server state machine
3. Make all session state types serializabl
4. Start the StateServer service (or use SQL Server
Are my thoughts correct
Or....is there anyway I can make full use of the 4 CPU's but keep InProc session state? I guess this means I would effectively be giving session affinity to a CPU because each session must be served from the same CPU \ ASP.NET worker process \ InProc session state to read\write to session state. I.e. To prevent subsequent requests from being served from a different ASP.NET worker process and thus not able to access stuff put into session state on a previous request - however, this sounds like a very bad idea
All thoughts on this appreciated
TIA.
My understanding is that in order to make use of all 4 CPU's we need to
1. Change machine.config (webGarden=true + cpuMask=0x0f
2. Configure web.config to use either the StateServer or SQL Server state machine
3. Make all session state types serializabl
4. Start the StateServer service (or use SQL Server
Are my thoughts correct
Or....is there anyway I can make full use of the 4 CPU's but keep InProc session state? I guess this means I would effectively be giving session affinity to a CPU because each session must be served from the same CPU \ ASP.NET worker process \ InProc session state to read\write to session state. I.e. To prevent subsequent requests from being served from a different ASP.NET worker process and thus not able to access stuff put into session state on a previous request - however, this sounds like a very bad idea
All thoughts on this appreciated
TIA.