Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1405513 - Enable Process Recycling for Pulp Worker Processes
Summary: Enable Process Recycling for Pulp Worker Processes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Pulp
Version: Unspecified
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Patrik Segedy
URL:
Whiteboard:
Depends On: 1388631
Blocks: 1393409
TreeView+ depends on / blocked
 
Reported: 2016-12-16 16:04 UTC by Bryan Kearney
Modified: 2021-12-10 14:50 UTC (History)
21 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1388631
Environment:
Last Closed: 2018-02-21 17:11:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 17298 0 None None None 2016-12-16 16:04:12 UTC
Pulp Redmine 2172 0 Normal CLOSED - CURRENTRELEASE Memory Improvements with Process Recycling 2016-12-19 16:02:02 UTC

Comment 2 pulp-infra@redhat.com 2016-12-16 20:53:04 UTC
The Pulp upstream bug status is at VERIFIED. Updating the external tracker on this bug.

Comment 3 pulp-infra@redhat.com 2016-12-16 20:53:08 UTC
The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug.

Comment 4 pulp-infra@redhat.com 2016-12-19 16:02:03 UTC
The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug.

Comment 5 Patrik Segedy 2017-10-13 17:12:57 UTC
satellite-6.3.0-19.0.beta.el7sat.noarch
pulp-server-2.13.4-1.el7sat.noarch

Steps to verify:
1. All workers (0-7) are using --maxtasksperchild option
# grep ^PULP_MAX_TASKS_PER_CHILD /etc/default/pulp_workers
PULP_MAX_TASKS_PER_CHILD=2

# ps -axu | grep -c maxtasksperchild=[2] 
16

2. Customize PULP_MAX_TASKS_PER_CHILD option using installer option --katello-max-tasks-per-pulp-worker
# satellite-installer --katello-max-tasks-per-pulp-worker 3
Installing             Done                                               [100%] [...............]
  Success!
  * Satellite is running at https://satellite
  * To install an additional Capsule on separate machine continue by running:

      capsule-certs-generate --foreman-proxy-fqdn "$CAPSULE" --certs-tar "/root/$CAPSULE-certs.tar"
  The full log is at /var/log/foreman-installer/satellite.log

# katello-service restart

# grep ^PULP_MAX_TASKS_PER_CHILD /etc/default/pulp_workers
PULP_MAX_TASKS_PER_CHILD=3

# ps -axu | grep -c maxtasksperchild=[3] 
16

3. Reset PULP_MAX_TASKS_PER_CHILD value using installer option --reset-katello-max-tasks-per-pulp-worker
# satellite-installer --reset-katello-max-tasks-per-pulp-worker
Installing             Done                                               [100%] [.............................]
  Success!
  * Satellite is running at https://satellite
  * To install an additional Capsule on separate machine continue by running:

      capsule-certs-generate --foreman-proxy-fqdn "$CAPSULE" --certs-tar "/root/$CAPSULE-certs.tar"
  The full log is at /var/log/foreman-installer/satellite.log


# katello-service restart
# grep ^PULP_MAX_TASKS_PER_CHILD /etc/default/pulp_workers
PULP_MAX_TASKS_PER_CHILD=2
# ps -axu | grep -c maxtasksperchild=[2] 
16

4. Undefining PULP_MAX_TASKS_PER_CHILD as in bug 1388631, comment 20 is not possible, because --katello-max-tasks-per-pulp-worker requires integer value. IMO this is not an issue.


VERIFIED

Comment 6 Bryan Kearney 2018-02-21 17:11:28 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.

https://access.redhat.com/errata/RHSA-2018:0336


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