1

我有一个连续的网络作业,应该一直运行到我停止它为止。我依靠这种情况,但由于某种原因,这种现象发生在我身上:

[01/19/2021 09:57:51 > 44ab83: SYS INFO] Detected WebJob file/s were updated, refreshing WebJob
[01/19/2021 09:57:51 > 44ab83: SYS INFO] Status changed to Stopping
[01/19/2021 09:57:56 > 44ab83: ERR ] Thread was being aborted.
[01/19/2021 09:57:57 > 44ab83: SYS INFO] WebJob process was aborted
[01/19/2021 09:57:57 > 44ab83: SYS INFO] Status changed to Stopped

该代码没有引发任何错误,所以我想知道为什么网络作业会自行重新启动。是什么Detected WebJob file/s were updated, refreshing WebJob意思?我没有在 WebJob 的目录中创建/写入任何文件。

4

1 回答 1

2

对 Azure Web 作业的自动重启/刷新进行故障排除

解决方案1:

原因一:

Due to website shutdown/restart

原因2:

Due to changes in the azure web job directory files or file content (`D:\home\site\wwwroot\app_data\jobs\continuous\<WebJobName>`)

原因3:

Due to a web app and/or web job deployment

原因4:

Due to an azure outage or maintenance

更多详细信息,您可以参考此博客。

链接:https ://www.cryingcloud.com/blog/2016/11/02/troubleshooting-automatic-restart-of-azure-web-jobs

解决方案 2:

提出支持票,让 Microsoft 帮助您检查日志。

于 2021-01-20T01:51:08.367 回答