question

MartinConnell-5886 avatar image
1 Vote"
MartinConnell-5886 asked MarlonVidalFerreira-3991 published

App is Stopped (while all quotas are green)

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-webapps-developmentazure-webapps-scaling
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Grmacjon-MSFT avatar image
0 Votes"
Grmacjon-MSFT answered Grmacjon-MSFT commented

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://docs.microsoft.com/en-us/azure/azure-subscription-service-limits
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/alerts-metric-overview


Let us know if you have further questions:


Thanks,


Grace







· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi Grace

Thank you for you reply.

I don't think the problem is related to the instance being shared because the stoppage happens consistently after I deploy a new build. So we can rule that out as the cause.

I can confirm that the Memory Quota is at 75% at the time that this happens. So we can rule that out as the cause.

Alerts are not available for the F1 tier AFAIK.

This isn't a production workload yet which which is why I would like to use F1 tier as that is the recommended one for my usage. (Note I'm paying for all sorts of other services on Azure at present.)

So all-in-all the state of affairs is not particularly satisfactory.

There are other reports of this problem going back several years now which makes me think there is a long-standing bug in the quota management system for App Service.

Would it be possibe to escalate this as a bug report?

Many thanks.

Martin

0 Votes 0 ·

Hi @MartinConnell-5886 ,

Apologies for the delayed response. Thanks for the additional information Martin. We would like to investigate this issue further. Can you email us at AzCommunity[at]microsoft[dot]com ATTN Grace as the subject so that we can take a closer look? Please include your subscription id and the link to this question.

-Grace

0 Votes 0 ·
MarlonVidalFerreira-3991 avatar image
0 Votes"
MarlonVidalFerreira-3991 answered MarlonVidalFerreira-3991 published

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.