Azure App Service Status QuotaExceeded

Anonymous
2023-03-03T13:39:05.4166667+00:00

Hello,

I have the following problem:

All my App Services in an specific App Service Plan stop about every 5min and the App Services get the status QuotaExceeded
see screenshot:
User's image

I checked the quota for the App Service Plan but everything seems fine so I don't get it why I get this status

Quota screen:
User's image

User's image

I also checked the Quota in general for my subscription but for example in "Computing" all fields say 0% usage.

What should I do?

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

1 answer

Sort by: Most helpful
  1. brtrach-MSFT 17,741 Reputation points Microsoft Employee Moderator
    2023-03-06T04:08:45.6166667+00:00

    @Anonymous We understand you have run into an issue with hitting a quota for your site, which is causing your sites to go offline.

    If your sites are going offline every 5 minutes, that aligns with the CPU time quota. CPU time quota has two measurements. CPU usage in a 5-minute period and CPU usage in a 24-hour period. The quota is 150,000 milliseconds (2.5 minutes) in a 5-minute period. If you hit this, your site will be taken offline to avoid exhaustion of the free/shared tier resources.

    The next item that stands out is that you mentioned you have multiple apps going offline on this app service. You might be better off splitting these apps into multiple App Service Plans as these quotas are at the App Service Plan level. This way if one or two apps are CPU intensive, they will only take themselves offline and not all of your apps.

    Keep in mind that things like deployments and visiting the site will all create CPU usage so keeping the number of deployments you make within a short time can help reduce your app's downtime.

    Lastly, you can verify the quota that was hit by:

    1. Navigate to portal.azure.com
    2. Select your web app
    3. Click on "diagnose and solve problems" blade
    4. Search for quota and the quota data will load (this is different than the screenshot/blade you showed. This should hopefully confirm that you are hitting the CPU 5-minute quota.

    Please let us know if you have any further questions or concerns.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.