We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Fix memory usage on Celery worker
Setting worker reboot after a number of tasks or after ram is used:
The text was updated successfully, but these errors were encountered:
It's currently not supported for gevent, only prefork: https://docs.celeryproject.org/en/stable/userguide/workers.html#max-tasks-per-child-setting
gevent
prefork
Sorry, something went wrong.
Set celery max_memory_per_child to 2GiB
a144f11
- Configurable via WORKER_MAX_MEMORY_PER_CHILD environment variable - Closes #657
Maybe max_memory_per_child works, there's no warning or error when running Celery with that flag
max_memory_per_child
3ade858
Uxio0
Successfully merging a pull request may close this issue.
What is needed?
Fix memory usage on Celery worker
Background
Solution
Setting worker reboot after a number of tasks or after ram is used:
The text was updated successfully, but these errors were encountered: