无明显原因的Azure App Service计划CPU峰值 [英] Azure App Service Plan CPU spikes for no obvious reason

查看:101
本文介绍了无明显原因的Azure App Service计划CPU峰值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们没有明显的原因在Azure应用服务计划中遇到CPU高峰.并不是停止服务的原因,但是我们希望了解何时以及如何发生这种情况.

We're experiencing CPU spikes on our Azure App Service Plan for no obvious reason. Its not something that stops the service, but we'd like to have an understanding of when&how that kind of things happen.

例如,CPU百分比连续数天处于0-1%的范围内,但随后突然间突然飙升至98%,45%,60%,然后很快又回到0-1%的范围内.内存保持在40-45%的舒适水平上,没有传入请求,没有Web作业,日志中没有异常,没有故障,服务运行正常,没有什么可以作为我们指责的理由. 我们尝试通过kudu>支持>分析(指标)来查找...但是无法获取请求提交.只是不断提示错误,以便稍后再试.

For example, CPU percentage sits at 0-1% range for days but then all of the sudden it spikes to 98%, 45%, 60% and comes back to 0-1% range very quickly. Memory stays unchanged at comfortable 40-45% level, no incoming requests to it, no web jobs, nothing unusual in logs, no failures, service health ok, nothing we could point our finger to as a reason. We tried to find out through kudu > support > analyze (metrics)...but we couldn't get request submited. It just keeps giving error to try later.

该应用程序服务计划中仅运行一个Web应用程序,即asp.net core 2.0.网络API.

There is only one web app running in that app service plan, its a asp.net core 2.0. web api.

有人可以阐明这种行为吗?这是正常现象吗?如果是这样,为什么会发生?是否存在峰值飙升至90%并且不会立即回来的危险?

Could someone shed some light on this kind of behavior? Is this normal, expected? If so, why it happens? Is there a danger that it spikes to 90% and don't immediately come back?

刚刚,这是怎么回事?

推荐答案

在与MS支持人员交谈后,我得到了答案,这是来自其监视工具的正常行为:

After speaking with MS support i've got an answer it is a normal behavior coming from their monitoring tool:

我们以12/26为起点回顾了内部工具,并 今天12/29,我们可以注意到这是多数制 进程执行后台任务,这对于每个沙盒来说都是正常的 环境.在您的情况下,主要是MonAgentCore.exe波动 在CPU中,这是我们的诊断日志捕获过程,看起来 就像一个非常短暂的峰值,看起来很正常.

We reviewed our internal tools taking as starting point 12/26 and today 12/29 and we could notice that this was majority System processes doing background tasks, which is normal for each sandbox environment. In your case, it was mostly MonAgentCore.exe fluctuating in CPU which is our diagnostic log capturing process and this looks like a very temporary spike and appears normal.

这篇关于无明显原因的Azure App Service计划CPU峰值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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