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 an configuration option to cap task group workers usage #5552

Open
ipanova opened this issue Jul 8, 2024 · 0 comments
Open

Add an configuration option to cap task group workers usage #5552

ipanova opened this issue Jul 8, 2024 · 0 comments
Labels

Comments

@ipanova
Copy link
Member

ipanova commented Jul 8, 2024

Is your feature request related to a problem? Please describe.
Depening on the action, task group can spawn X tasks that will consume all workers and stall whole pulp installation.
Example: ACS task group will create as many tasks as there are repos to refresh.
As a result all workers could be occupied and pulp will not be usable

Describe the solution you'd like
Potentially as an config option that will globally limit how many workers each task group could consume at a time so leave spare resources for other pulp actions - sync, upload, copy, publish, etc.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Here's a brainstorming doc https://hackmd.io/@ggainey/task_throttling_thoughts

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

No branches or pull requests

2 participants