High CPU usage was detected for the kudu app for Azure App service

橙三吉。 提交于 2019-12-24 13:07:05

问题


I noticed that our app was experiencing high CPU usage. In the diagnostics I found the below message.

High CPU usage was detected for the kudu app for 'DemoApiApp'(39.1%) on only one instance out of 4 instances in your app service plan. The affected instance had a peak overall usage of 87.8% during this time. High CPU usage in the kudu process is most often caused by web job usage. Affected instance name: RD0003FF1C445A


回答1:


Note that, apps in the same App Service plan share the same compute resources. To determine whether the new app has the necessary resources, you need to understand the capacity of the existing App Service plan, and the expected load for the new app. Overloading an App Service plan can potentially cause downtime for your new and existing apps. Refer App Service limits for more details.

As specified in the documentation, isolate your app into a new App Service plan when:

-The app is resource-intensive.

-You want to scale the app independently from the other apps the existing plan.

-The app needs resource in a different geographical region.

If your process is running slower than expected, or the latency of HTTP requests are higher than normal and the CPU usage of the process is also high, you can remotely profile your process and get the CPU sampling call stacks to analyze the process activity and code hot paths. Refer Remote Profiling support in Azure App Service for more details.

Hope this helps.



来源:https://stackoverflow.com/questions/49053245/high-cpu-usage-was-detected-for-the-kudu-app-for-azure-app-service

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!