We recently ran out of memory on our sites under an Azure App Service Plan.
This threw a "Memory Resource Exhausted" error on all Apps.
Clicking "CPU Percentage and Memory Percentage" shows a spike to 82% in last 24 hours.
Navigating to "Metrics per Instance (App Service Plan)" I get a visual of all Web Apps.. Adding up ALL their Working Set in MBs added up to 22% at time of 82% App Service Plan usage.
This SO answer suggests viewing memory usage in Kudu.
Does Azure Dashboard or Kudu have any way to show a break down of specifically "App Service Plan" memory usage?
Go to any site (app) that's part of the App Service Plan. Click on "Diagnose and Solve Problems" Click on Performance Counters (on the right side of the screen) Check e.g. the "Average Memory Working Set" checkbox.
Check Computer Memory Usage EasilyTo open up Resource Monitor, press Windows Key + R and type resmon into the search box. Resource Monitor will tell you exactly how much RAM is being used, what is using it, and allow you to sort the list of apps using it by several different categories.
This information can be obtained from the notification. Diagnose. The detection contains the memory leak pattern, showing memory consumption of the process over time. You can also use the related items and reports linking to supporting information, to help you further diagnose the issue.
Enable memory usage monitoring You can find this option on the Infrastructure tab of the Component Blueprints page. See Add Azure Services to the Catalog for more information. In the manual provisioning wizard, choose the storage account that will be used to save the data.
Watch a quick video to understand different aspects shown in this view https://www.youtube.com/watch?v=lWeutt1GvRs
Under the Memory analysis tool:-
App Level Breakdown
A dated question, but I've found a view that shows this data that I believe did not exist at the time this question was posted.
Go to Diagnose and solve problems and search for "memory" in the input box labeled "Search App Service Diagnostics" at the top of the view. Choose Memory Drill Down in the results. There you will see a full breakdown of all the apps running per instance on your App Service Plan:
Screenshot 1: Search results for "Memory" in "Diagnose and solve problems" view
Screenshot 2: Full breakdown of memory usages per app per instance on your App Service Plan
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With