在消费计划上停止/终止正在运行实例的Azure功能 [英] Stopping / Killing Azure Functions Running Instances on Consumption Plan

查看:62
本文介绍了在消费计划上停止/终止正在运行实例的Azure功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在消费计划(以前称为动态计划)上杀死可运行Azure功能的实例(执行).

How do u kill azure function runnable instances (executions) on a Comsumption Plan (previously known as Dynamic Plan).

我正在运行时版本1.0上运行azure函数.

I am running the azure function on a runtime version of 1.0.

  • 很少(下面的屏幕快照中的日志中未显示)超过了5分钟functionTimeout阈值(选中状态为DOTTED的阈值).
  • 然而,很少有DID达到五分钟阈值时按预期被杀死的情况(检查状态为"CROSSED"的那个)

我尝试过的事情:

  • 如该问题停止/杀死正在运行的Azure函数中所建议的那样,我重新启动了托管Azure函数的网站 li>
  • 为了确定我什至停止/启动了网站
  • 我从kudu界面中杀死了进程,但日志仍然显示存在大量实例.
  • 进程浏览器显示了32个线程,但所有线程均处于等待"状态.从我所能观察到的一切都没有.
  • As suggested in this SO question Stop/Kill a running Azure Function I restarted the website hosting the azure function
  • I even stopped / started the website just to be sure
  • I killed the processes from kudu interface but the logs still keep showing there was a rouge instance.
  • Process explorer showed 32 Threads but all of them were in WAITING status. Nothing was running from what I could observe.

最后

  • 我删除了网站,转而使用基于App Service Plan的功能,因为这似乎是唯一需要灵活超时的天蓝色功能.

推荐答案

这是一个监视错误,尽管看起来令人困惑,但对运行时行为没有影响.

This is a monitoring bug, and although it looks confusing, would have no impact on the runtime behavior.

我打开了一个跟踪该此处的问题将会随着我们的进步而更新.

I have opened an issue to track this here and it will be updated as we make progress.

感谢您的耐心配合并报告问题!

Thank you for your patience with this and for reporting the problem!

这篇关于在消费计划上停止/终止正在运行实例的Azure功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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