Bug 1754562
| Summary: | sosreport hangs after executing all plugins | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Eduard Barrera <ebarrera> |
| Component: | sos | Assignee: | Pavel Moravec <pmoravec> |
| Status: | CLOSED DUPLICATE | QA Contact: | BaseOS QE - Apps <qe-baseos-apps> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.0 | CC: | agk, bmr, jjansky, ktordeur, michael.ballon, plambri, sbradley |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| 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: | 2020-05-11 13:43:55 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
Eduard Barrera
2019-09-23 14:56:35 UTC
maybe bz 1704957 ? how many files could have been collected? Could we get /var/tmp/sos.* working directory? (In reply to Pavel Moravec from comment #2) > maybe bz 1704957 ? how many files could have been collected? Could we get > /var/tmp/sos.* working directory? Reiteration of the needinfo. Until said elsehow, we suppose this is a dup of 1704957 and will be closed when 7.8 is GA. I had the same result, sosreport would hang after "Finished running plugins". In my case the last plugin that ran was yum, I tried skipping it without luck. While the running the sosreport in -vvv I noticed just screen and screen output from cgroups plugin, I exclude that and sosreport was able to complete. Example success: sosreport -vvv --skip-plugin cgroups (In reply to Mike Ballon from comment #4) > I had the same result, sosreport would hang after "Finished running > plugins". In my case the last plugin that ran was yum, I tried skipping it > without luck. > > While the running the sosreport in -vvv I noticed just screen and screen > output from cgroups plugin, I exclude that and sosreport was able to > complete. > > Example success: sosreport -vvv --skip-plugin cgroups Doesn't either directory "/proc/cgroups", "/sys/fs/cgroup", "/etc/sysconfig/cgconfig", "/etc/sysconfig/cgred", contain tens of thousands of files (or even more)? If so, then https://bugzilla.redhat.com/show_bug.cgi?id=1704957 really applies and an upgrade to sos-3.8-* helps here. I will try and update sos when allowed, although the file counts are all low. I did notice the host has a rather evil amount of mounts though. # mount | wc -l 666 # mount | grep -c '\.snapshot' 556 # ls /etc/sysconfig/cgred | wc -l 1 # cat /proc/cgroups | wc -l 13 # ls /sys/fs/cgroup | wc -l 15 # ls /etc/sysconfig/cgconfig | wc -l ls: cannot access /etc/sysconfig/cgconfig: No such file or directory 0 (In reply to Mike Ballon from comment #6) > I will try and update sos when allowed, although the file counts are all low. > > I did notice the host has a rather evil amount of mounts though. > > # mount | wc -l > 666 > > # mount | grep -c '\.snapshot' > 556 > > # ls /etc/sysconfig/cgred | wc -l > 1 > # cat /proc/cgroups | wc -l > 13 > # ls /sys/fs/cgroup | wc -l > 15 > # ls /etc/sysconfig/cgconfig | wc -l > ls: cannot access /etc/sysconfig/cgconfig: No such file or directory > 0 OK looking forward for the results of updated sos. FYI the number of subdirs isnt the key problem, but number of files in the dirs can be - you shall rather count: find /sys/fs/cgroup | wc or similar. # find /sys/fs/cgroup | wc 73251 73251 7518495 Updating sos appears to have resolved my issue. # rpm -qa | grep sos sos-3.8-6.el7.noarch Thanks! (In reply to Mike Ballon from comment #8) > # find /sys/fs/cgroup | wc > 73251 73251 7518495 > > Updating sos appears to have resolved my issue. > > # rpm -qa | grep sos > sos-3.8-6.el7.noarch > > Thanks! Thanks for the confirmation. Many tens of thousands of files being collected by a single plugin (and html report enabled, that is the default) is the trigger of bz1704957 resolved in 3.8. Closing as duplicate of the BZ, then. *** This bug has been marked as a duplicate of bug 1704957 *** The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |