Project

General

Profile

Actions

Feature #36437

closed

configure pulpcore gunicorn with --preload

Added by Evgeni Golov 10 months ago. Updated 10 months 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 #1

Updated by The Foreman Bot 10 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/puppet-pulpcore/pull/288 added
Actions #2

Updated by Evgeni Golov 10 months ago

  • Description updated (diff)
  • Category deleted (Foreman modules)
Actions #3

Updated by Evgeni Golov 10 months ago

  • Category set to Foreman modules
Actions #4

Updated by The Foreman Bot 10 months ago

  • Fixed in Releases 3.8.0 added
Actions #5

Updated by Evgeni Golov 10 months ago

  • Status changed from Ready For Testing to Closed
Actions #6

Updated by Evgeni Golov 10 months ago

  • Fixed in Releases 3.7.0 added
  • Fixed in Releases deleted (3.8.0)
Actions

Also available in: Atom PDF