We help IT Professionals succeed at work.

Application Pool crash management

amitant asked
Last Modified: 2011-10-19
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.

Watch Question


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.


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...


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
This one is on us!
(Get your first solution completely free - no credit card required)

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.