Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 444529

Summary: groupd and gfs_controld can spin at 100% cpu usage during recovery
Product: Red Hat Enterprise Linux 5 Reporter: Corey Marthaler <cmarthal>
Component: cmanAssignee: Christine Caulfield <ccaulfie>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: low Docs Contact:
Priority: low    
Version: 5.2CC: cluster-maint, dmosby, edamato, lpleiman, tao, tom
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-20 21:52:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Fixes behavior
none
Updated patch none

Description Corey Marthaler 2008-04-28 21:41:53 UTC
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):
2.6.9-68.26.ELsmp
dlm-kernel-smp-2.6.9-53.3
dlm-1.0.7-1

Comment 1 Lon Hohberger 2008-04-28 21:48:10 UTC
Created attachment 304047 [details]
Fixes behavior

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.

Comment 2 Lon Hohberger 2008-04-28 21:50:27 UTC
Created attachment 304048 [details]
Updated patch

Comment 5 Lon Hohberger 2008-08-29 14:29:55 UTC
Fixing component; this is all user-space.

Comment 8 errata-xmlrpc 2009-01-20 21:52:24 UTC
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.

http://rhn.redhat.com/errata/RHBA-2009-0189.html

Comment 9 David Teigland 2009-04-01 16:26:28 UTC
*** Bug 492989 has been marked as a duplicate of this bug. ***