-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Celery does not pick up new tasks and does not execute old tasks according to the schedule on Ubuntu + Django #7913
Comments
Hey @yashmjshinichi 👋, We also offer priority support for our sponsors. |
I got the same error |
@AnonimBella I have tried clearing the existing queue using |
@yashmjshinichi Already solve this using redis flush. When I using celery purge there is no changes. |
@AnonimBella I've tried flushing redis and purging the queue and sometimes tasks are picked up and sometimes they aren't. Wonder what's wrong. This improvement was the result of switch to |
@yashmjshinichi I already use CELERY_BROKER_URL since I created this project. But I assume this case 'cause there is something error with my codes that it makes the queue stuck. I got this case as well in laravel's queue, but I don't know if this will be happend in celery as well or not. So I just added some try catch in my codes, and then execute redis flush and restart the celery. I still monitoring this case until now and the queue works well. |
Checklist
master
branch of Celery.contribution guide
on reporting bugs.
for similar or identical bug reports.
for existing proposed fixes.
to find out if the bug was already fixed in the master branch.
in this issue (If there are none, check this box anyway).
Mandatory Debugging Information
celery -A proj report
in the issue.(if you are not able to do this, then at least specify the Celery
version affected).
master
branch of Celery.pip freeze
in the issue.to reproduce this bug.
Optional Debugging Information
and/or implementation.
result backend.
broker and/or result backend.
ETA/Countdown & rate limits disabled.
and/or upgrading Celery and its dependencies.
Related Issues and Possible Duplicates
Related Issues
Possible Duplicates
Environment & Settings
Celery version: celery==5.2.7
celery report
Output:Steps to Reproduce
Required Dependencies
Python Packages
pip freeze
Output:Other Dependencies
N/A
Minimally Reproducible Test Case
Expected Behavior
Tasks to be recognized by celery beat and worker. Each task executed as per schedule
Actual Behavior
The tasks listed in task.py are not picked up by celery beat and worker, The tasks previously working have stopped working and remain within the beat registery (celery inspect registered) even after they're deleted and redis is flushed (redis-cli flushall) but the new tasks aren't registered in the celery tables seen in Admin panel. Frankly enough, the schedule worked as per planned as of a few days ago but when i created a new task it suddenly stopped working and new tasks haven't been accepted. So far the output has been the same for Ubuntu and AWS
The text was updated successfully, but these errors were encountered: