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

add memory usage section to optimizing docs #7186

Merged
merged 2 commits into from
Dec 25, 2021
Merged

Conversation

pawl
Copy link
Contributor

@pawl pawl commented Dec 24, 2021

Description

This PR adds a section about reducing worker memory usage to the Optimizing -> Worker Settings section of the docs.

My main goal of the section is to help users differentiate between memory leak bugs in Celery itself (like in #4843) and memory usage issues in their own tasks.

@auvipy auvipy added this to the 5.2.x milestone Dec 25, 2021
:setting:`worker_max_tasks_per_child` and :setting:`worker_max_memory_per_child`
settings.

You must be careful not to set these settings too low, or else your workers
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any example here would be great

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea, added: b1c1e60

@auvipy auvipy merged commit c506f45 into celery:master Dec 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants