Bug 1649938 - Pulp_max_tasks_per_child is disabled in capsule but not in satellite
Summary: Pulp_max_tasks_per_child is disabled in capsule but not in satellite
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installer
Version: 6.3.3
Hardware: All
OS: Linux
medium vote
Target Milestone: Released
Assignee: Chris Roberts
QA Contact: Perry Gagne
URL: https://projects.theforeman.org/issue...
: 1643650 (view as bug list)
Depends On:
Blocks: 1122832
TreeView+ depends on / blocked
Reported: 2018-11-14 20:58 UTC by Ram Nayan Singh
Modified: 2021-12-10 18:14 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2019-05-17 04:22:53 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 25511 0 Normal Closed Pulp_max_tasks_per_child is disabled in capsule but not in satellite 2021-02-05 16:56:58 UTC
Github theforeman puppet-katello pull 265 0 None closed Fixes #25511 - Disable max tasks by default to prevent memory issues. 2021-02-05 16:56:58 UTC
Red Hat Knowledge Base (Solution) 3687321 0 None None None 2018-12-11 16:12:21 UTC
Red Hat Product Errata RHSA-2019:1222 0 None None None 2019-05-14 12:38:58 UTC

Description Ram Nayan Singh 2018-11-14 20:58:25 UTC
Description of problem:
satellite installer disables Pulp_max_tasks_per_child in the capsule by default, but it does not disable in the satellite.

satellite 6.3.3

Fresh install system with satellite installed 

Ran satellite-installer -scenario=satellite

In capsule server /etc/default/pulp_workers Pulp_max_tasks_per_child is commented

In satellite server /etc/default/pulp_workers Pulp_max_tasks_per_child is uncommented


This leads to memory leaks on the capsule server

Comment 4 Eric Helms 2018-12-11 16:12:21 UTC
*** Bug 1643650 has been marked as a duplicate of this bug. ***

Comment 5 Perry Gagne 2019-01-14 19:04:43 UTC
Verified fix in sat 6.5 snap 11.

Pulp workers is commented by default during satellite install:

# To avoid memory leaks, Pulp can terminate and replace a worker after processing X tasks. If
# left commented, process recycling is disabled. PULP_MAX_TASKS_PER_CHILD must be > 0.


Comment 8 errata-xmlrpc 2019-05-14 12:38:50 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Comment 10 Bryan Kearney 2019-05-16 14:04:55 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/25511 has been resolved.

Comment 11 Mike McCune 2019-05-17 04:22:53 UTC
We removed all instances of the configuration for PULP_MAX_TASKS_PER_CHILD as this configuration is no longer supported as it leads to deadlocks in task processing, see:


if you are still seeing PULP_MAX_TASKS_PER_CHILD entries in /etc/default/pulp_workers on a Satellite or Capsule then that bug is not resolved but in our tests and internal lab hosts on fresh installations of Satellite and Capsules there is no more PULP_MAX_TASKS_PER_CHILD setting which is correct.

Going to close this out as CURRENTRELEASE but if you are seeing this configuration entry still, please re-open.

Note You need to log in before you can comment on or make changes to this bug.