gpt4 book ai didi

azure - 由于网站关闭,WebJob 正在停止

转载 作者:行者123 更新时间:2023-12-03 03:09:02 25 4
gpt4 key购买 nike

我的 Azure 连续 Web 作业停止给出原因“WebJob 由于网站关闭而停止”

来自 Kudu 日志的日志

[12/09/2016 17:11:49 > 2e7853: WARN] Reached maximum allowed output lines for this run, to see all of the job's logs you can enable website application diagnostics
[12/09/2016 17:12:42 > 2e7853: SYS INFO] WebJob is stopping due to website shutting down
[12/09/2016 17:12:42 > 2e7853: SYS INFO] Status changed to Stopping
[12/09/2016 17:12:47 > 2e7853: SYS INFO] WebJob process was aborted
[12/09/2016 17:12:47 > 2e7853: SYS INFO] Status changed to Stopped
[12/09/2016 17:12:55 > 2e7853: SYS INFO] Status changed to Starting
[12/09/2016 17:12:55 > 2e7853: SYS INFO] WebJob singleton setting is False
[12/09/2016 17:12:57 > 2e7853: SYS INFO] Run script 'VimsProcessHistoryData.exe' with script host - 'WindowsScriptHost'
[12/09/2016 17:12:57 > 2e7853: SYS INFO] Status changed to Running

它已经永远在线。

有人可以帮忙解决这个问题吗

最佳答案

[12/09/2016 17:12:42 > 2e7853: SYS INFO] WebJob is stopping due to website shutting down

[12/09/2016 17:12:42 > 2e7853: SYS INFO] Status changed to Stopping

[12/09/2016 17:12:55 > 2e7853: SYS INFO] Status changed to Starting

据我所知,如果某些原因导致您的 Web 应用程序重新启动,那么只要您的 Web 应用程序重新启动,您的 WebJob 就会快速重新启动。如果这种情况经常发生,我认为您需要 Enable diagnostics logging对于您的 Web 应用程序并检查 SCM 中的 Process Explorer。如果这种情况很少发生,您可以尝试重新部署您的 WebJob。您还可以将 WebJob 部署到新的空 Web 应用程序以隔离此问题。这是类似的issue ,你可以引用一下。

关于azure - 由于网站关闭,WebJob 正在停止,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41275495/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com