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:

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!