Actions
Feature #36438
closedconfigure pulpcore-api with --max-requests to recycle workers before they leak too much memory
Difficulty:
Triaged:
No
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
Updated by The Foreman Bot over 1 year ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/puppet-pulpcore/pull/289 added
Updated by Evgeni Golov over 1 year ago
- Status changed from Ready For Testing to Closed
Applied in changeset puppet-pulpcore|5780e8a0ce1403cfe0f143ce0246cf69ef9e5f51.
Updated by Evgeni Golov over 1 year ago
- Fixed in Releases 3.7.0 added
- Fixed in Releases deleted (
3.8.0)
Actions