简体   繁体   English

Azure Webjob突然停止工作

[英]Azure Webjob suddenly stops working

I have an Azure Webjob (PHP Script) which runs every hour to import 100k data rows into a data table (basically 1000 inserts without transactions). 我有一个Azure Webjob(PHP脚本),它每小时运行一次,以将100k数据行导入到数据表中(基本上是1000个插入而没有事务)。 However the Azure Webjob just stops randomly after some inserts (sometimes 3k, sometimes 30k) and I don't know why. 但是,Azure Webjob只是在某些插入(有时为3k,有时为30k)之后随机停止,我不知道为什么。 I checked the job logfile and php error logs but nothing is there. 我检查了作业日志文件和php错误日志,但没有任何内容。 It looks like the php.exe from webjub suddenly gets killed. 似乎来自webjub的php.exe突然被杀死。

Does someone know what can cause this behavior or what I can try ? 有人知道什么可能导致此行为或我可以尝试什么?

Thanks! 谢谢!

The issue is solved. 问题已解决。 We had a composer package called jobby which is a CRON replacement and it somehows not work correctly in our environment. 我们有一个名为jobby的作曲家程序包,它是CRON的替代品,因此在我们的环境中无法正常工作。 Without it and just the Webjob it is working fine. 没有它,只有Webjob,它就可以正常工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM