我的Redis队列上有并发3的芹菜工人。有时celery只是拒绝下一个任务,并显示以下消息:
[2018-09-18 08:32:24,372: WARNING/ForkPoolWorker-5] Pid(s) {24352, 11121, 13665} already running
[2018-09-18 08:32:28,059: ERROR/MainProcess] Task handler raised error: WorkerLostError('Worker exited prematurely: exitcode 0.',)
Traceback (most recent call last):
File "/opt/anaconda3/lib/python3.6/site-packages/billiard/pool.py", line 1223, in mark_as_worker_lost
human_status(exitcode)),
billiard.exceptions.WorkerLostError: Worker exited prematurely: exitcode 0.
如果重要的话,我会执行很长的任务(5至60分钟)。
找不到有关此pid的已运行消息