Bug 1382529 - Upgrade Documentation ds command hitting kernel limits.
Summary: Upgrade Documentation ds command hitting kernel limits.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Documentation
Version: Unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium vote
Target Milestone: Unspecified
Assignee: Charles Wood
QA Contact: Lucie Jirakova
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-07 00:16 UTC by jnikolak
Modified: 2019-09-26 14:43 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-11 14:22:30 UTC
Target Upstream Version:


Attachments (Terms of Use)

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!


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