App is Stopped (while all quotas are green)

Martin Connell 1 Reputation point
2020-06-24T16:06:48.777+00:00

My Azure web app is regularly stopped with the error: "App is stopped. App Service plan quota has been exceeded"

I click through to view quotas and all are shown as GREEN i.e. quota NOT exceeded.

The pricing tier is Free (F1). Scaling up the plan un-stops the app, but that is an undesirable workaround at present while the app is under development.

How can I get the app service to perform as expected at this pricing tier?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,405 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Grmacjon-MSFT 17,456 Reputation points
    2020-06-26T01:18:26.423+00:00

    Hello @MartinConnell-5886,

    We are sorry to hear you are facing this issue. Most times when an app is stopped temporarily, it is because the app Memory quota is exceeded. You can try setting up alerts for your metric to know when you are about to hit your memory quota. Please follow the step in this Azure doc to create, view, and manage log alerts using Azure Monitor. The doc shows you how to create and manage log alerts using the alerts interface inside the Azure portal. Alert rules are defined by three components:

    Target: A specific Azure resource to monitor
    Criteria: A condition or logic to evaluate for truth. If true, the alert fires.
    Action: Specific call sent to a receiver of a notification - email, SMS, webhook etc.

    You mentioned you are using the Free pricing tier for your web app which uses shared compute instance means multiple customers apps will be running on the same machine/instance, so if some other site on that instance is using more CPU, Memory or exceeding the other quota limit than it may affect your application as well. I would recommend using a paid tier if you are working on production workloads.

    See the below links for additional information:
    https://azure.microsoft.com/en-in/pricing/details/app-service/
    https://learn.microsoft.com/en-us/azure/azure-subscription-service-limits
    https://learn.microsoft.com/en-us/azure/azure-monitor/platform/alerts-metric-overview

    Let us know if you have further questions:

    Thanks,

    Grace


  2. Marlon Vidal Ferreira 1 Reputation point
    2020-11-17T21:07:31.987+00:00

    Maybe you have more than one application in your App Plan, you'll need to sum all of them and check if they're exceeding the quota limits

    0 comments No comments