Red Hat Bugzilla – Bug 1011192
pulp-admin rpm repo content rpm with the RHEL 6 repository uses too much RAM
Last modified: 2015-02-28 16:58:40 EST
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.
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.
Moved to https://pulp.plan.io/issues/372