Increase pulpcore-api worker count and make it configurable
\n\n*Description of problem:*\nwe currently configure the api service to only have a single worker:\n\n/etc/systemd/system/pulpcore-api.service\n\nExecStart=/usr/libexec/pulpcore/gunicorn pulpcore.app.wsgi:application \\\n --timeout 90 \\\n -w 1 \\\n\n\nGenerally this is fine, but we've seen some conditions where this isn't enough and can lead to errors. I think we should likely increase the default to something higher (4?) and make it configurable."
Fixes #33445: Increase default API gunicorn worker count
This increases the default API gunicorn worker count to be similar
to that of content worker count but with a smaller minimum. There
are different workloads that can require higher throughput through
the API and the current default of 1 is too low of a starting point.
#4 Updated by Eric Helms 10 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset puppet-pulpcore|2da99656ee4d7221faabed4a766af6165faa0a37.