Heroku以SIGTERM状态143重新启动

问题描述 投票:0回答:1

我有一个在Heroku上运行的刮板。它已经运行了一段时间(+-2个月),并且它在几天内表现出色并达到其最大1,000,并且在几天之内就神奇地重新启动。

有人知道重启的原因是什么吗?刮板未显示任何错误,我唯一能找到的是Heroku日志中的以下消息:

Feb 05 03:02:55 scraper heroku/web.1:  Cycling 
Feb 05 03:02:55 scraper heroku/web.1:  State changed from up to starting 
Feb 05 03:02:57 scraper heroku/web.1:  Stopping all processes with SIGTERM 
Feb 05 03:02:57 scraper heroku/web.1:  Process exited with status 143 
Feb 05 03:03:16 scraper heroku/web.1:  Starting process with command `npm start` 
heroku puppeteer scraper
1个回答
2
投票

这里的Cycling位日志很有趣。

Heroku will restart dynos every 24h,此过程称为“循环”。这就是您在这里看到的。

© www.soinside.com 2019 - 2024. All rights reserved.