Azure Web Service Quota exceeded with no usage

Laurence Do 0 Reputation points
2024-12-04T20:24:52.1733333+00:00

Hello,

I have a Web App that's been running for a long time with no issues, and has very, very low usage. Yesterday, it was suddenly shut down due to "Quota Exceeded", and I see on the Quota tab for the app that the CPU Time is maxed out. Not only that, that 772 minutes of CPU Time continue to increase, even though the service has already been shut down due to exceeding the quota. What can I do to fix this? I'm confused how the usage can continue to go up when the service is not even running.{12C8EC9C-D766-4810-B342-1FD1DE7081BA}

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

1 answer

Sort by: Most helpful
  1. Shree Hima Bindu Maganti 3,675 Reputation points Microsoft External Staff
    2024-12-05T06:11:39.7833333+00:00

    Hi Laurence Do ,

    Welcome to the Microsoft Q&A Platform!
    The issue of CPU time quota increasing even after your Web App is shut down is unusual happen due to background or scheduled tasks, resource mismanagement, or a miscalculation in Azure's quota tracking.

    1. Check WebJobs in your App Service and stop or disable any running jobs.
    2. Navigate to Configuration > General Settings and ensure "Always On" is turned off.
    3. Restart your App Service Plan to reset any quota tracking .
    4. Go to Metrics in the Azure Portal and review CPU Time to identify patterns or spikes.
    5. Stop the Web App from the Overview blade in the Azure Portal.
    6. Verify that no deployment slots are consuming CPU resources.
    7. Check Application Insights or Log Analytics for unusual activity or infinite loops.
    8. Upgrade to a Basic or Standard plan to eliminate quota restrictions. https://learn.microsoft.com/en-us/azure/app-service/web-sites-monitor
      If the answer is helpful, please click "Accept Answer" and kindly upvote it.

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.