Plesk

Website in Plesk shows error 503; its application pool randomly stops within a specified time period: automatically disabled due to a series of failures

Symptoms

Cause

Rapid-Fail Protection disables application pool if it crashes several times within a specified time period.

Resolution

Note: Rapid-Fail Protection prevents the failing application pool from getting into a continuous loop of crashing. This is useful when an application goes out of control which could overload the server.
In general, it is better to review the application code to resolve crashes.

To prevent an Application Pool from stopping, disable Rapid Fail Protection in IIS. Refer to these articles for more information:

General steps to disable Rapid Fail Protection for application pool are the following:

  1. Connect to the server via RDP.

  2. Open Internet Information Services (IIS) Manager > Application pools > choose application pool > Advanced Settings.

  3. Scroll down to Rapid Fail Protection and change the option Enabled from True to False. Click OK to apply the changes.

Note: if the application is crashing frequently, it may require reviewing the application code in order to prevent repeated crashes.