Actions
Feature #36437
closedconfigure pulpcore gunicorn with --preload
Difficulty:
Triaged:
No
Description
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.
https://discourse.pulpproject.org/t/api-server-memory-leak/851/3
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)
Actions