Red Hat Bugzilla – Bug 444529
groupd and gfs_controld can spin at 100% cpu usage during recovery
Last modified: 2010-10-22 20:33:38 EDT
Description of problem:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4560 root RT 0 7644 808 444 R 100 0.0 122:50.94 groupd
Version-Release number of selected component (if applicable):
Created attachment 304047 [details]
In certain conditions (which I am not sure of the cause), groupd, fenced, and
dlm_controld all have the potential to enter infinite/tight loops surrounding
poll(2) due to a file descriptor being closed and not correctly handled.
The poll loop for these daemons checks for POLLHUP, but not POLLERR or
POLLNVAL. As such, file descriptors in these states are unhandled.
This patch fixes these daemons.
Created attachment 304048 [details]
Fixing component; this is all user-space.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.
*** Bug 492989 has been marked as a duplicate of this bug. ***