Link to home
Start Free TrialLog in
Avatar of amitant
amitant

asked on

Application Pool crash management

Hi experts


- How should i configure IIS (6)  so that if an application consume too much resources for some reason, it will restart.
- I have several applications, each on a different virtual directory on the same machine and domain. What are pros and cons to make them all share the same application pool. and if so how should i prevent mallfunctioning of one app from hurting the others.

Avatar of oxp
oxp

Hi,
if you have a Multi-CPU-System you can create different Pools for different Webs and they are scaling up much better. Also you can set one pool to use multiple precesses, but then you Webs need to maintain coockies correctly.

Also you can set CPU-Monitor to restart an application pool if it stops responding for a given amount of time.
Avatar of amitant

ASKER

thanks oxp

i have single CPU. isnt the default setting for a one pool to use multiple processes, at least i think this is the case here because i see many processes running the same APPLICATION within the pool.
How can i maintain cookies correctly?
The default behavior of IIS6 is that all webs , share a single Application Pool.
Also by default the "Default Application Pool" is set to have only 1 worker Process.
When you are using Session-Cookies in ASP or ASP.NET and set multiple worker processes than it is possible that a User-Session jumps between the worker processes and looses its session-cookie. For example a UserLoggedOn=1 variable would be lost and the users need to logon again.
See attached Screenshot...
webIIS6Pools.jpg
Avatar of amitant

ASKER

I have this max max worker process set to 1
so is there a way i can prevent one application from consuming the whole CPU of the other apps in that same pool, or should i create an additional pool and move the problematic application to that pool with CPU limitation. if so, pls provide short explanation on how to do so. Thanks
ASKER CERTIFIED SOLUTION
Avatar of oxp
oxp

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial