#Celery tasks randomly stopping working, resume on restarting the worker

2 messages · Page 1 of 1 (latest)

paper crest
#

I've set up a Django project that uses celery as the task queue.

The tasks will work for ~1 day, and then the Celery tasks will randomly stop working (the task doesn't even start implying Celery has stopped consuming). If I restart the server the tasks then resume working. Any suggestions on how to fix this or debug it? Or more broadly any ideas for what would cause Celery to stop consuming the tasks?

It's happened 3 times that when I restart the worker then the tasks resume.

This is my celery start command:

celery -A bible.celery worker --loglevel=info --concurrency 1

I'm wondering if I need to specify a minimum amount of vCPU/vRAM?

hallow inletBOT
#

Project ID: db9b15cb-dfce-4587-adda-2ecb04d78b92