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

PulpImport can overload the task-queue #4068

Closed
ggainey opened this issue Jul 18, 2023 · 4 comments · Fixed by #4160
Closed

PulpImport can overload the task-queue #4068

ggainey opened this issue Jul 18, 2023 · 4 comments · Fixed by #4160

Comments

@ggainey
Copy link
Contributor

ggainey commented Jul 18, 2023

Version
main

Describe the bug
PulpImport dispatches a task-per-repository. For large imports, with large repositories, this means that Pulp can't do anything else until the import is finished or nearly so, as all workers are busy importing repositories.

It would be good to teach the import-process to arrange to not use up more than, say, 25% of the available workers.

@ipanova
Copy link
Member

ipanova commented Jul 19, 2023

Also we could introduce a setting for the import task that would make the % value configurable.

I am adding a prio-list to this issue since this problem impairs some of our customer's environment.

@ggainey ggainey self-assigned this Jul 25, 2023
ggainey added a commit to ggainey/pulpcore that referenced this issue Jul 26, 2023
When we expose  IMPORT_WORKERS_PERCENT, this becomes a configurable percentage.

fixes pulp#4068.
@dralley dralley added the BZ label Jul 27, 2023
@dralley
Copy link
Contributor

dralley commented Jul 27, 2023

BZ: https://bugzilla.redhat.com/show_bug.cgi?id=2227093

ggainey added a commit to ggainey/pulpcore that referenced this issue Jul 28, 2023
IMPORT_WORKERS_PERCENT is configurable in settings. We will
document/expose this in a future PR, to keep this one maximally
backportable.

fixes pulp#4068.
ggainey added a commit to ggainey/pulpcore that referenced this issue Jul 28, 2023
IMPORT_WORKERS_PERCENT is configurable in settings. We will
document/expose this in a future PR, to keep this one maximally
backportable.

fixes pulp#4068.
ggainey added a commit to ggainey/pulpcore that referenced this issue Jul 28, 2023
IMPORT_WORKERS_PERCENT is configurable in settings. We will
document/expose this in a future PR, to keep this one maximally
backportable. Default behavior remains "all workers".

fixes pulp#4068.
ggainey added a commit that referenced this issue Jul 28, 2023
IMPORT_WORKERS_PERCENT is configurable in settings. We will
document/expose this in a future PR, to keep this one maximally
backportable. Default behavior remains "all workers".

fixes #4068.
patchback bot pushed a commit that referenced this issue Jul 28, 2023
IMPORT_WORKERS_PERCENT is configurable in settings. We will
document/expose this in a future PR, to keep this one maximally
backportable. Default behavior remains "all workers".

fixes #4068.

(cherry picked from commit b5cb1d1)
patchback bot pushed a commit that referenced this issue Jul 28, 2023
IMPORT_WORKERS_PERCENT is configurable in settings. We will
document/expose this in a future PR, to keep this one maximally
backportable. Default behavior remains "all workers".

fixes #4068.

(cherry picked from commit b5cb1d1)
ggainey added a commit to ggainey/pulpcore that referenced this issue Jul 28, 2023
IMPORT_WORKERS_PERCENT is configurable in settings. We will
document/expose this in a future PR, to keep this one maximally
backportable. Default behavior remains "all workers".

fixes pulp#4068.

(cherry picked from commit b5cb1d1)
ggainey added a commit to ggainey/pulpcore that referenced this issue Jul 28, 2023
IMPORT_WORKERS_PERCENT is configurable in settings. We will
document/expose this in a future PR, to keep this one maximally
backportable. Default behavior remains "all workers".

fixes pulp#4068.

(cherry picked from commit b5cb1d1)
ggainey added a commit to ggainey/pulpcore that referenced this issue Jul 28, 2023
IMPORT_WORKERS_PERCENT is configurable in settings. We will
document/expose this in a future PR, to keep this one maximally
backportable. Default behavior remains "all workers".

fixes pulp#4068.

(cherry picked from commit b5cb1d1)
ggainey added a commit to ggainey/pulpcore that referenced this issue Jul 28, 2023
IMPORT_WORKERS_PERCENT is configurable in settings. We will
document/expose this in a future PR, to keep this one maximally
backportable. Default behavior remains "all workers".

fixes pulp#4068.

(cherry picked from commit b5cb1d1)
ggainey added a commit to ggainey/pulpcore that referenced this issue Jul 28, 2023
IMPORT_WORKERS_PERCENT is configurable in settings. We will
document/expose this in a future PR, to keep this one maximally
backportable. Default behavior remains "all workers".

fixes pulp#4068.

(cherry picked from commit b5cb1d1)
ggainey added a commit to ggainey/pulpcore that referenced this issue Jul 28, 2023
IMPORT_WORKERS_PERCENT is configurable in settings. We will
document/expose this in a future PR, to keep this one maximally
backportable. Default behavior remains "all workers".

fixes pulp#4068.

(cherry picked from commit b5cb1d1)
ggainey added a commit to ggainey/pulpcore that referenced this issue Jul 28, 2023
IMPORT_WORKERS_PERCENT is configurable in settings. We will
document/expose this in a future PR, to keep this one maximally
backportable. Default behavior remains "all workers".

fixes pulp#4068.

(cherry picked from commit b5cb1d1)
dralley pushed a commit that referenced this issue Jul 28, 2023
IMPORT_WORKERS_PERCENT is configurable in settings. We will
document/expose this in a future PR, to keep this one maximally
backportable. Default behavior remains "all workers".

fixes #4068.

(cherry picked from commit b5cb1d1)
dralley pushed a commit that referenced this issue Jul 28, 2023
IMPORT_WORKERS_PERCENT is configurable in settings. We will
document/expose this in a future PR, to keep this one maximally
backportable. Default behavior remains "all workers".

fixes #4068.

(cherry picked from commit b5cb1d1)
dralley pushed a commit that referenced this issue Jul 28, 2023
IMPORT_WORKERS_PERCENT is configurable in settings. We will
document/expose this in a future PR, to keep this one maximally
backportable. Default behavior remains "all workers".

fixes #4068.

(cherry picked from commit b5cb1d1)
dralley pushed a commit that referenced this issue Jul 28, 2023
IMPORT_WORKERS_PERCENT is configurable in settings. We will
document/expose this in a future PR, to keep this one maximally
backportable. Default behavior remains "all workers".

fixes #4068.

(cherry picked from commit b5cb1d1)
@pulpbot
Copy link
Member

pulpbot commented Jul 31, 2023

@pulpbot
Copy link
Member

pulpbot commented Aug 11, 2023

ggainey added a commit to ggainey/pulpcore that referenced this issue Aug 21, 2023
IMPORT_WORKERS_PERCENT is configurable in settings. We will
document/expose this in a future PR, to keep this one maximally
backportable. Default behavior remains "all workers".

fixes pulp#4068.

(cherry picked from commit b5cb1d1)
dralley pushed a commit that referenced this issue Aug 21, 2023
IMPORT_WORKERS_PERCENT is configurable in settings. We will
document/expose this in a future PR, to keep this one maximally
backportable. Default behavior remains "all workers".

fixes #4068.

(cherry picked from commit b5cb1d1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants