question

Grmacjon-MSFT avatar image
0 Votes"
Grmacjon-MSFT asked ·

How do I troubleshoot a high CPU-consumption scenario?

How do I troubleshoot a high CPU-consumption in my Azure Web app?

Sourced from FAQ

azure-webappsazure-webapps-performance
10 |1000 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

bharathn-msft avatar image
0 Votes"
bharathn-msft answered ·

Welcome to the Microsoft Q&A (Preview) platform.

Happy to answer your questions.

In some high CPU-consumption scenarios, your app might truly require more computing resources. In that case, consider scaling to a higher service tier so the application gets all the resources it needs. Other times, high CPU consumption might be caused by a bad loop or by a coding practice. Getting insight into what's triggering increased CPU consumption is a two-part process. First, create a process dump, and then analyze the process dump. For more information, see Capture and analyze a dump file for high CPU consumption for Web Apps.

Sourced from FAQ

· 1 · Share
10 |1000 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.

This does not tell us which app service in an app service plan is the one to dump and analyze. Many of us are stuck on this first step, because of the strange lack of a metric for CPU usage % for an app service.

It's incredibly confusing and hard to answer when it's been so simple to find and answer for other windows platforms, historically speaking.

0 Votes 0 · ·