4๐
โ
I found a solution that fixed this issue. I changed my workers to threaded as opposed to prefork by submitting the -P threads
argument to the invocation:
python manage.py celery worker -f c:\logs\celery.log -E -P threads -l info --settings=[proj].settings.production
I was then able to correctly inspect the workers even when they were running at their concurrency value. I did have to ensure that all of my tasks were threadsafe (shutil was the major offender, and a simple lock fixed it).
I hope this helps.
Steve
๐คSteve Cobb
Source:stackexchange.com