configure pulpcore gunicorn with --preload
We did some testing and found that adding the --preload flag to the gunicorn execution command line for the pulpcore-content/pulpcore-api service reduces the memory overhead required by several hundred megabytes, because it is able to share more memory pages, and several copies of the pulpcore-content worker processes are active resulting in compounded gains with higher numbers of workers.
The primary downside is not relevant to the Katello use case.
(originally submitted in https://github.com/theforeman/puppet-pulpcore/issues/286, moved here for better tracking)
Updated by Evgeni Golov 4 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset puppet-pulpcore|b8189466629b05df91fe90fbb7f741e2e9c27786.