Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1382529

Summary: Upgrade Documentation ds command hitting kernel limits.
Product: Red Hat Satellite Reporter: jnikolak
Component: DocumentationAssignee: Charles Wood <chwood>
Status: CLOSED CURRENTRELEASE QA Contact: Lucie Jirakova <ljirakov>
Severity: medium Docs Contact:
Priority: medium    
Version: UnspecifiedCC: adahms, jnikolak
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-11 14:22:30 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 jnikolak 2016-10-07 00:16:12 UTC
Document URL: 
https://access.redhat.com/documentation/en/red-hat-satellite/6.2/paged/installation-guide/chapter-6-upgrading-satellite-server-and-capsule-server

Section Number and Name: 
1st section

Describe the issue: 

 when i follow  above guide  and I run du -h --summarize /var/lib/pulp as part of the inital step, my server crashes, I was thinking a less destructive command could be df -h

 root     pts/2    dhcp-0-233.bne.r 09:44    5:10  15.59s 15.54s du -h --summarize /var/lib/pulp
 you can see the process has taken 5 minutes so far
It crashes because the load steadily increases.

I believe its hitting the limits of the amount of files that the kernel can process with an ls or du

Comment 1 Andrew Dahms 2016-12-22 04:08:59 UTC
Assigning to Charles for review.

Comment 3 jnikolak 2017-01-10 07:28:31 UTC
Yes when testing with df -h, I don't encounter the issue.

Comment 4 Charles Wood 2017-01-11 12:49:10 UTC
Hi Lucie, 

So in brief, du -h --summarize /var/lib/pulp was causing server crashes. This has been changed to df -h /var/lib/pulp. I did just check the command and df -h does not work with --summarize.

Here is the commit: https://gitlab.cee.redhat.com/satellite-6-documentation/installation-guide/commit/4896194d7c51a736c2c9240792fb0dd259ee37a1

Here is the merge request: https://gitlab.cee.redhat.com/satellite-6-documentation/installation-guide/merge_requests/163

Here is the branch on jenkins: http://ccs-jenkins.gsslab.brq.redhat.com:8080/job/doc-Red_Hat_Satellite-6-Installation_Guide-branch-BZ-1382529/lastSuccessfulBuild/artifact/index.html 

Thank you!