question

VarunPande-4535 avatar image
0 Votes"
VarunPande-4535 asked Grmacjon-MSFT edited

Slow Azure Web App Loading - ASP.Net MVC App

With only 20 users online my app responding very slow. As per my investigation CPU time is very high, other stats are under control.


81543-image.png


azure-webappsazure-webapps-performance
image.png (246.2 KiB)
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.

1 Answer

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

Hi @VarunPande-4535

Apologies for the delay in response.

Have you tried, enabling “Always On” setting on your Azure web app? it can increase application responsiveness, especially if the app is not very frequently accessed by your users.

Here are some other possible mitigations you can apply :

-Restart the App as that may reduce the high CPU usage temporarily.
-Upgrading to the next tier can give you more resources if the app is consuming high CPU and you are on a lower tier.
-You can use Remote Profiling. Remote Profiling is useful if the CPU usage of the process is high and your process is running slower than expected, or the latency of HTTP requests are higher than normal, you can remotely profile your process and get the CPU sampling call stacks to analyze the process activity and code hot paths.
-Utilize Proactive CPU monitoring. It is an easy, proactive way to take an action when your app or its child process is consuming too much CPU. You can configure CPU rules to temporarily mitigate a high CPU issue until the real cause for the unexpected issue is found.

Hope that helps.

Best,
Grace


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.