Bug 1011192

Summary: pulp-admin rpm repo content rpm with the RHEL 6 repository uses too much RAM
Product: [Retired] Pulp Reporter: Randy Barlow <rbarlow>
Component: user-experienceAssignee: pulp-bugs
Status: CLOSED UPSTREAM QA Contact: pulp-qe-list
Severity: unspecified Docs Contact:
Priority: medium    
Version: MasterCC: cduryee, skarmark
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-28 21:58:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Randy Barlow 2013-09-23 18:07:45 UTC
Create a repository named rhel-6-server, set its feed to the RHEL 6 upstream, and sync it. Then, run this command:

$ pulp-admin rpm repo content rpm --repo-id rhel-6-server

On my machine, it ran out of RAM before it returned, and took a very long time to execute. According to top, it was using more than 2.1 GB of virtual memory (sum of shared libs, swapped memory, and physical RAM) which is probably too much.

Comment 1 Chris Duryee 2014-11-10 13:45:37 UTC
This is still outstanding as of pulp 2.5.0-0.17.rc. I tried to run this on a system with 4GB mem and my httpd was killed by the OOM killer. I ran this after syncing http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/ which has 22975 rpm units.

Comment 2 Brian Bouterse 2015-02-28 21:58:38 UTC
Moved to https://pulp.plan.io/issues/372