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 525386

Summary: Can't read /sys/hypervisor/uuid which leads to high load average.
Product: Red Hat Enterprise Linux 5 Reporter: wangshibo <jaswang>
Component: kernel-xenAssignee: Xen Maintainance List <xen-maint>
Status: CLOSED DUPLICATE QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: high Docs Contact:
Priority: high    
Version: 5.4CC: clalance, jdenemar, samuel.kielek, sdodson, xen-maint
Target Milestone: ---   
Target Release: 5.4   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-05 20:05:40 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:

Description wangshibo 2009-09-24 07:35:13 UTC
Description of problem:
When the daemon of xend stops ,the cron task who is /etc/cron.hourly/mcelog.cron can't read /sys/hypervisor/uuid.It leads to D status of "cat /sys/hypervisor/uuid " which results in high load average 

Version-Release number of selected component (if applicable):
In RHEL5.4 for 64 bits x86_64 xen kernel.

How reproducible:
In xen kernel,make the daemon of xend stop.

Steps to Reproduce:
1.#service xend stop
2.#top  (see the load average by hours) 
3.#ps aux |grep "^D" (there are lots of "D" status process)
     
Actual results:
See the result of 'ps' ,we will find there are a lot of "D" state process.Theses process are waiting for cat /sys/hypervisor/uuid.And the load average become more and more high.
Expected results:
When the daemon of xend stops, the process can read /sys/hypervisor/uuid.The load average is not high by hours. 

Additional info:
In RHEL 5.4 before,we find the bug for Reading /sys/hypervisor/uuid in Dom0 hangs if XenStoreD isn't running.The bugzilla website is https://bugzilla.redhat.com/show_bug.cgi?id=225203

Comment 1 Jiri Denemark 2009-09-24 07:56:37 UTC
Interesting. I can still read /sys/hypervisor/uuid after stopping xend. Are you sure it's not exactly the same issue as in bug 225203? That is, is xenstored running when you try to read uuid?

Comment 4 Jiri Denemark 2009-09-25 07:14:54 UTC
Changing component to kernel-xen to decide if we want to fix this bug this time. Kernel tries to read xenstore and blocks forever if xenstored is not running. There is even a patch in bug 225203. We could also reopen that bug and mark this one as a dup of it. I'll let kernel-xen developers decide...

Comment 5 Scott Dodson 2009-11-05 04:52:03 UTC
Is this not the same as BZ 522827 ?

Comment 6 Peter Tiggerdine 2009-11-05 05:35:53 UTC
Yes I would agree. Duplicate?

Comment 7 Scott Dodson 2009-11-05 20:05:40 UTC

*** This bug has been marked as a duplicate of bug 522827 ***

Comment 10 Chris Lalancette 2010-07-19 13:56:08 UTC
Clearing out old flags for reporting purposes.

Chris Lalancette