Azure Function应用程序在监视器中带有橙色感叹号的情况下自动停止 [英] Azure Function app stops automatically with Orange exclamatory mark in monitor

查看:66
本文介绍了Azure Function应用程序在监视器中带有橙色感叹号的情况下自动停止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I have created a Azure function app with two queue triggers. The app runs fine for first 1 hour or so and it stops. Am logging the application error in Azure table. There is no error logged even after it stopped!.

因此,我在门户网站的队列触发器中检查了监视选项,无论何时停止,都会出现橙色的感叹号,而不是刻度.

So I checked the monitor option in queue trigger in portal, whenever it stops there will be orange exclamatory mark present instead of tick. 

注意:此功能仅使用应用服务计划.

NOTE : App service plan is utilized only by this function.

我什至配置了应用程序见解并检查了以下内容,仅在功能扩展问题中我看到了一些东西,不确定是否有问题.

I even configured application insights and checked following things, only in function scaling issues I saw something, not sure if it is problem.

分析内存不足错误: 没有检测到内存不足的功能.

应用程序崩溃:在此时间段内未检测到应用程序崩溃

功能可用性和性能:在此时间段内未检测到应用程序崩溃

功能扩展问题:

Analyze Out of Memory Errors :  No Functions detected out of memory. 

Application Crashes :  No Application crashes detected during this timeframe 

Function Availability and Performance : No Application crashes detected during this timeframe 

Function Scaling Issues :


我不知道计数"是多少那意味着在那个图中.是那导致我的功能停止了.有人可以帮我确定为什么该功能无缘无故停止吗?

I don't know what "count" that means in that graph. Is that causing my function to stop. Can anybody please help identify me why the function is stopping for no reason ? 

注意,我正在使用"APP SERVICE PLAN(S1)".

Note, I am using "APP SERVICE PLAN(S1)". 

更新:在kudu中进行了更多挖掘之后-> eventlog.xml,我得到了这个

Update : After some more digging in kudu --> eventlog.xml, I got this 

"由于百分比内存"限制,Worker Process请求回收.使用的内存:可用的2147012608中的2002595840.超过90%的内存"

这是在4分钟后准确记录错误"的错误.出现在上图中.

This is error was logged exactly after 4 minutes when the "count" appeared in above graph.

TIA.

推荐答案

UX上的橙色图标表示API将状态返回为未完成".

The orange icon on the UX means the API  returning the status to be 'Never Finished'.

eventlog.xml确认该时间段内实例在高内存下运行.

eventlog.xml confirms that the instance was running with High Memory during that time.

这可能是由于其他应用程序在同一App Service计划上运行所致

您可以通过访问App查看App服务计划的内存使用情况->应用服务计划->诊断和解决问题->我的应用程序的内存不足.

希望这会有所帮助!


这篇关于Azure Function应用程序在监视器中带有橙色感叹号的情况下自动停止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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