I need help with azure app service, recently it got way to slow

Luis Gamez 5 Reputation points
2025-02-28T23:15:37.33+00:00

I have an app service in azure Web Apps, but recently it started to be way to slow and get timed out.

This started two weeks ago, and I am trying to understand how to solve it.

My api has some methods that changed the response time from 20-30 seconds to 2 minutes or more, without deploying new code that might make it slower...

I check app insights and cpu is mostly at 90%, I know is high but this was not happening before.

Is azure having any issues or might be a configuration that I need to do in my App Service?

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

2 answers

Sort by: Most helpful
  1. Laxman Reddy Revuri 5,400 Reputation points Microsoft External Staff Moderator
    2025-03-03T05:35:13.97+00:00

    Hi @Luis Gamez
    apologize for any inconvenience caused on this.
    Could you please refer to this documentation
    Troubleshoot slow app performance issues in Azure App Service.
    Use the "Diagnose and Solve problems" tab in Azure Portal for your App Service to identify common issues.
    https://learn.microsoft.com/en-us/azure/app-service/overview-diagnostics?source=recommendations
    You can consider restarting the App Service to see if that helps resolve the problem temporarily.

    Looking at CPU usage over a sustained period, you may want to consider increasing the App Service Plan.

    Verify whether App Service or linked services (such as database connections or network settings) have been reconfigured as newer deployments may have caused performance degradation.
    https://stackoverflow.com/questions/77640652/troubleshooting-slowness-in-azure-app-services
    Could you please confirm that which pricing Tire that you are using for your App Service?

    0 comments No comments

  2. Suresh Chikkam 2,135 Reputation points Microsoft External Staff Moderator
    2025-03-05T05:18:55.81+00:00

    Hi @Luis Gamez ,

    I have reviewed the situation and here are a few steps and insights I found that might help pinpoint the issue:

    It's possible that there could be some regional performance issues in Azure that are impacting the App Service. I’d recommend checking the Azure Service Health status at this link to see if there have been any reported problems in the region where the App Service is hosted.

    Since the PDF generation time has jumped from 20–30 seconds to over 2 minutes, it could be a sign that the API is experiencing higher demand. It would be worth checking Application Insights or Azure Monitor to see if there’s a spike in requests or if certain calls are consistently taking longer. Also, keep an eye on external dependencies like your database, file storage, or any third-party APIs. if they’re slowing down, that could be a factor too.

    Even though you have moved from PV2 to PV3, if the app is still experiencing high CPU usage, the app might be under-resourced for your current load. I would recommend enabling auto-scaling if you haven’t already.

    Hope it helps!


    Please do not forget to click "Accept the answer” and Yes wherever the information provided helps you, this can be beneficial to other community members.

    User's image

    If you have any other questions or still running into more issues, let me know in the "comments" and I would be happy to help you.


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.