Project

General

Profile

Actions

Feature #36437

closed

configure pulpcore gunicorn with --preload

Added by Evgeni Golov over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman modules
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

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

Also available in: Atom PDF