Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions etc/kayobe/seed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ seed_pulp_container:
# s6-overlay-suexec starts as pid 1
init: false
env:
PULP_CONTENT_WORKERS: "{{ [ansible_facts.processor_vcpus * 2 + 1, 32] | min }}"
PULP_API_WORKERS: "{{ [ansible_facts.processor_vcpus * 2 + 1, 32] | min }}"
PULP_CONTENT_WORKERS: "{{ [ansible_facts.processor_vcpus * 2 + 1, 12] | min }}"
PULP_API_WORKERS: "{{ [ansible_facts.processor_vcpus * 2 + 1, 12] | min }}"
PULP_HTTPS: "{{ 'true' if pulp_enable_tls | bool else 'false' }}"
volumes:
- /opt/kayobe/containers/pulp:/etc/pulp
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
fixes:
- |
Reduce the maximum number of PULP_CONTENT_WORKERS and PULP_API_WORKERS
to 12 to prevent connection starvation on seed hosts with more than 12
cpu threads.
Loading