Bug 74123 - cluadmin chews 99+% of CPU time
Summary: cluadmin chews 99+% of CPU time
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: clumanager
Version: 2.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Lon Hohberger
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-09-16 15:15 UTC by Lon Hohberger
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-09-16 15:19:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2002:226 0 normal SHIPPED_LIVE Fixes for clumanager addressing starvation and service hangs 2002-10-08 04:00:00 UTC

Description Lon Hohberger 2002-09-16 15:15:48 UTC
Description of Problem: In some cases, when the shell which spawned cluadmin is
terminated for one reason or another, cluadmin becomes stuck in a _tight_
read-write loop:

read(0, "", 1)                          = 0
write(1, "\7", 1)                       = -1 EIO (Input/output error)
read(0, "", 1)                          = 0
write(1, "\7", 1)                       = -1 EIO (Input/output error)
read(0, "", 1)                          = 0
write(1, "\7", 1)                       = -1 EIO (Input/output error)
read(0, "", 1)                          = 0
...

Version-Release number of selected component (if applicable): 1.0.11,
CVS/Development


How Reproducible: Sometimes


Steps to Reproduce:
1. Run cluadmin
2. Log in to a different terminal.
3. Kill the shell which spawned cluadmin.


Actual Results: Cluadmin enters read/write loop, consuming nearly all of the CPU.


Expected Results: Cluadmin cleanly exits.


Additional Information:  Personally, I have been unable to reproduce this
problem.  I have, however, found the cause of this and implemented code which is
now in testing.  This bugzilla is mainly for documentation purposes.

Comment 1 Lon Hohberger 2002-09-19 15:10:36 UTC
Fix in pool.


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