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

collection version list allocates all available memory #1433

Closed
jctanner opened this issue May 4, 2023 · 0 comments
Closed

collection version list allocates all available memory #1433

jctanner opened this issue May 4, 2023 · 0 comments

Comments

@jctanner
Copy link
Contributor

jctanner commented May 4, 2023

https://issues.redhat.com/browse/AAH-2229

On a system with community.general's versions all synced, continuous queries against the list endpoint will consume all available memory until the worker is OOMKilled.

Thanks to @rochacbruno for the reproducer:

$ cat REPRO.sh 
#!/bin/bash

watch -n 1 \
curl -u admin:admin http://localhost:5001/api/automation-hub/v3/plugin/ansible/content/community/collections/index/community/general/versions/\?limit\=200\&offset\=0
jctanner added a commit to jctanner/pulp_ansible that referenced this issue May 4, 2023
fixes: pulp#1433

Signed-off-by: James Tanner <tanner.jc@gmail.com>
jctanner added a commit to jctanner/pulp_ansible that referenced this issue May 4, 2023
)

fixes: pulp#1433

Signed-off-by: James Tanner <tanner.jc@gmail.com>
jctanner added a commit to jctanner/pulp_ansible that referenced this issue May 4, 2023
)

fixes: pulp#1433

Signed-off-by: James Tanner <tanner.jc@gmail.com>
(cherry picked from commit a52dc98)
jctanner added a commit to jctanner/pulp_ansible that referenced this issue May 5, 2023
)

fixes: pulp#1433

Signed-off-by: James Tanner <tanner.jc@gmail.com>
(cherry picked from commit a52dc98)
jctanner added a commit to jctanner/pulp_ansible that referenced this issue May 9, 2023
)

fixes: pulp#1433

Signed-off-by: James Tanner <tanner.jc@gmail.com>
(cherry picked from commit a52dc98)
gerrod3 pushed a commit that referenced this issue May 9, 2023
…#1444)

fixes: #1433

Signed-off-by: James Tanner <tanner.jc@gmail.com>
(cherry picked from commit a52dc98)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Archived in project
Development

No branches or pull requests

1 participant