Skip to content
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 / Redis issue #1514

Open
bwbroersma opened this issue Oct 2, 2024 · 1 comment
Open

Celery / Redis issue #1514

bwbroersma opened this issue Oct 2, 2024 · 1 comment

Comments

@bwbroersma
Copy link
Collaborator

bwbroersma commented Oct 2, 2024

Related:

Currently used versions:

celery==5.3.1

hiredis==2.2.3

$ make exec cmd="redis-server --version" service=redis env=develop 
docker compose  --project-name=internetnl-develop exec --user root redis redis-server --version
Redis server v=7.0.12 ...

Maybe the source is caused by:

Note there are some issues with hiredis in combination with this setting:

Question:
With this knowledge, can we trigger this, e.g. by setting a very low CELERYD_MAX_TASKS_PER_CHILD? Also note the steps to reproduce and actual behavior with (redis) error messages in celery/celery#3898.

@aequitas
Copy link
Collaborator

aequitas commented Oct 3, 2024

The CELERYD_MAX_TASKS_PER_CHILD is already very low with 100 so it should trigger more often I guess? But I think it can't hurt to remove this package from the requirements and see if the issues disappear.

The unbound library also seems to use hiredis [0][1]. I don't know how trivial it would be to disable it in that package as well, but that is only related to the caching/connection test and not web/mail tests and queuing afaik.

[0] https://github.com/search?q=repo%3Ainternetstandards%2Funbound%20hiredis&type=code
[1]

--with-libhiredis \

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants