WebJob 由于网站关闭而停止
WebJob is stopping due to website shutting down
我的 Azure 连续 webjob 停止给出原因"WebJob is stopping due to website shutting down"
来自 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 for your web app and check the Process Explorer in the SCM. If this hanppens infrequently, you could try to re-deply your WebJob. Also you could deploy your WebJob to a new empty web app for isolating this issue. Here is a similar issue,你可以参考一下。
我把我的工作换成了连续的网络工作..而且它奏效了。
它尝试了几个触发 webjob 的选项,比如保持它始终打开..但是没有用。
我启用了所有诊断日志记录..但它没有给我任何线索。
在与 Microsoft 支持核实后,他们回答说错误移动了 VM,导致作业停止。
我的 Azure 连续 webjob 停止给出原因"WebJob is stopping due to website shutting down"
来自 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 for your web app and check the Process Explorer in the SCM. If this hanppens infrequently, you could try to re-deply your WebJob. Also you could deploy your WebJob to a new empty web app for isolating this issue. Here is a similar issue,你可以参考一下。
我把我的工作换成了连续的网络工作..而且它奏效了。
它尝试了几个触发 webjob 的选项,比如保持它始终打开..但是没有用。
我启用了所有诊断日志记录..但它没有给我任何线索。
在与 Microsoft 支持核实后,他们回答说错误移动了 VM,导致作业停止。