Azure应用服务内存使用情况.在哪里可以看到完整的故障? [英] Azure App Service Memory Usage. Where to see full breakdown?

查看:99
本文介绍了Azure应用服务内存使用情况.在哪里可以看到完整的故障?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们最近根据Azure应用服务计划耗尽了网站上的内存.

这在所有应用程序上引发了内存资源已耗尽"错误.

单击"CPU百分比和内存百分比"显示在过去24小时内达到了82%的峰值.

导航到每个实例的度量标准(应用程序服务计划)",我可以看到所有Web应用程序.应用服务计划的使用情况.

SO答案建议查看Kudu中的内存使用情况.

Azure仪表板或Kudu是否可以显示特定的应用程序服务计划"内存使用情况的细分?

解决方案

转到Azure Web App的Azure门户中的诊断和解决问题,然后在有权查看在同一应用程序服务计划上运行的网站和进程的内存的完整明细.您甚至可以在同一位置逐个实例向下钻取实例.

有关更多详细信息,请参见 https://docs .microsoft.com/en-us/azure/app-service/app-service-diagnostics

也请检阅

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 Diagnose and Solve Problems in the Azure portal for your Azure Web App and choose "High Memory Usage" on the tiles on the right to see a full breakdown of memory of sites and processes running on the same app service plan. You can even drill down instance by instance in the same place.

More details on this in https://docs.microsoft.com/en-us/azure/app-service/app-service-diagnostics

Also checkout the short video referred in https://azure.microsoft.com/en-in/resources/videos/azure-friday-azure-app-service-diagnostic-and-troubleshooting-experience/

This is what you see when you click Diagnose and Solve problems -> High Memory Usage

The instance here refers to the App Service Plan itself. Just below this graph, you can see Application Percent Physical Memory Usage for instance which shows memory consumption by individual sites running on the App Service Plan

If you notice that the overall memory consumption is high but the individual sites are not consuming high memory or the memory consumption of the individual sites is not adding up, then it would mean that the rest of the memory consumption is by the system processes running on that instance. This is quite possible to witness if you are running your App on a B1 or S1 Pricing Tier which has a total of just 1.75 GB of RAM and most of the time 50 % of it might be consumed by the processes or services running for the operating system as that is just the base memory usage for Windows + other processes running on the machine.

这篇关于Azure应用服务内存使用情况.在哪里可以看到完整的故障?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆