Why my web app gets very slow to respond in azure portal?

Developer 0 Reputation points
2023-01-12T06:53:23.3533333+00:00

Hi, I'm having problems with my domain because sometimes this app becomes very slow to respond, I've to restart it to fix it. it is happening every day.

I checked under the "Diagnose and solve problems >> Availability and Performance" section, here shows CPU usage of less than 80% and memory usage of less than 500MB.

Also, I've set up auto-healing, and it's working fine. But can't really find what and where is the problem.

So, what should we do to find out exactly where the problem is and why our web application is slowing down?

Azure Web Apps
Azure Web Apps
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,320 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,551 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
6,961 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
147 questions
{count} votes

2 answers

Sort by: Most helpful
  1. JasonPan - MSFT 1,146 Reputation points Microsoft Employee
    2023-01-13T06:44:21.1266667+00:00

    Hi Developer,

    I think Always on feature in your app service is not turned on. Websites unload if they sit idle for too long, which helps the system conserve resources.

    Always On (available for Standard tier websites) keeps the app loaded even when there's no traffic. If you are not using Standard tier, it's turned off by default. So please check it.

    User's image


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best Regards

    Jason Pan

    No comments

  2. SnehaAgrawal-MSFT 11,176 Reputation points Microsoft Employee
    2023-01-17T10:13:13.9233333+00:00

    Thanks for reaching here! When you browse the app and pages load slowly and sometimes timeout. This can be caused by application level issues, such as:

    • network requests taking a long time
    • application code or database queries being inefficient
    • application using high memory/CPU
    • application crashing due to an exception

    You may follow below troubleshooting steps in sequential order to narrow down the issue:

    1. Observe and monitor application behavior
    2. Collect data
    3. Mitigate the issue

    Please let us know if further query or issue remains.

    No comments