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 1890916 - Pulp worker can consume high memory when publishing a repository with large metadata files
Summary: Pulp worker can consume high memory when publishing a repository with large m...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Pulp
Version: 6.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 6.8.1
Assignee: satellite6-bugs
QA Contact: Lai
URL:
Whiteboard:
: 1890917 1899312 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-23 10:00 UTC by James Jeffers
Modified: 2020-11-25 16:47 UTC (History)
18 users (show)

Fixed In Version: pulp-rpm-2.21.3.1-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1876782
Environment:
Last Closed: 2020-11-23 17:13:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Pulp Redmine 7480 0 None None None 2020-10-23 14:16:12 UTC
Red Hat Product Errata RHBA-2020:5180 0 None None None 2020-11-23 17:14:05 UTC

Comment 1 James Jeffers 2020-10-23 10:04:33 UTC
*** Bug 1890917 has been marked as a duplicate of this bug. ***

Comment 9 Lai 2020-11-18 15:48:36 UTC
Steps to retest:

1. Set Pulp to use only 1 worker so that we can monitor the progress easily.  This can be done by modifying pulp_concurrancy=1 in /etc/default/pulp_workers
2. Restart pulp_workers: systemctl restart pulp_workers
3. Enable and sync rhel-7-server-rpms
4. Use the following command to monitor the memory usage.

watch 'ps -aux | grep reserved_resource_worker-0'

5. Create cv and add rhel-7-server-rpms
6. Publish cv
7. Monitor pulp worker from step 3

Expected:
Processing should not reach 3GB

Actual:
Processing took up to 1.3GB as highest memory consumption that I've seen.  It stabilizes around 1GB. 

Since we're below the threshold of 3GB, this is verified.

Verified on 6.8.1_snap 2

Checked pulp version on system as pulp-rpm-plugins-2.21.3.1-1.el7sat.noarch

Comment 13 errata-xmlrpc 2020-11-23 17:13:53 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 (Satellite 6.8.1 Async Bug Fix Update), 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/RHBA-2020:5180

Comment 14 Mike McCune 2020-11-25 16:47:11 UTC
*** Bug 1899312 has been marked as a duplicate of this bug. ***


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