7
votes

several time in day my Application pool is stopped with following error:

Application pool 'MyApplicationPool' is being automatically disabled due to a series of failures in the process(es) serving that application pool.

How to resolve this?

thanks, for the any advice.

4
Do you have anything in the event log that might help elaborate the problem? - Swaff
this error I've got from Windows logs - Andrei Andrushkevich

4 Answers

9
votes

This is because your application pool is crashing more than 5 times in 5 minutes [default settings - Rapid Fail]

Instead of disabling Rapid Fail, you should consider taking Crash Dumps and try to find out the root cause. http://blogs.msdn.com/b/rahulso/archive/2006/03/02/what-is-a-crash-technically-in-asp-net-and-what-to-do-if-it-happens.aspx

4
votes

I had the same problem and after some struggle I realized it was caused by a change in my domain password that runs the application pool. Going to the application pool > Advanced Settings > Process Model > Identity and set it with the new password.

2
votes

You may not have the same exception causing the application pool to recycle, but this answer should address your situation as well: A process serving application pool 'Classic .NET AppPool' suffered a fatal communication error with the Windows Process Activation Service. HTTP Error 503

The gist of it is that something in your application is causing the app pool to keep recycling itself. You'll need to determine what is throwing so many exceptions. After you've fixed the cause of the exceptions, your app pool should run without recycling itself to the point where it hits the Rapid Fail Protection limit.

0
votes

I had this same problem and after a few hours of wrestling with it and following solutions that didnt work, I went to Application Pool > Advanced Settings > Process Model > Identity and set it to LocalSystem. Magcally, the whole thing worked.