Project

General

Profile

Actions

Feature #36438

closed

configure pulpcore-api with --max-requests to recycle workers before they leak too much memory

Added by Evgeni Golov 11 months ago. Updated 11 months ago.

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

Description

This will help to address https://bugzilla.redhat.com/show_bug.cgi?id=2122872

Gunicorn provides --max-requests and --max-requests-jitter settings which will restart the web worker process after handling some number of requests. This will help to eliminate any memory leaks which may be present.

I advise to set

--max-requests 50 \
--max-requests-jitter 30 \

, which will restart workers after handling some random number of requests between 50 and 80.

Originally reported in https://github.com/theforeman/puppet-pulpcore/issues/285

Actions #1

Updated by The Foreman Bot 11 months ago

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

Updated by The Foreman Bot 11 months ago

  • Fixed in Releases 3.8.0 added
Actions #3

Updated by Evgeni Golov 11 months ago

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

Updated by Evgeni Golov 11 months ago

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

Also available in: Atom PDF