Bug 522827 - Hourly cron job causes high system load under Xen kernel (dom0)

Bug 522827 - Hourly cron job causes high system load under Xen kernel (dom0) without XenStoreD running [NEEDINFO]
Aliases:
Summary: Hourly cron job causes high system load under Xen kernel (dom0) without XenSt...
Status: CLOSED ERRATA

Aliases: None (edit)

Product: Red Hat Enterprise Linux 5
Component(s): mcelog (Show other bugs)
Version(s): 5.5
Platform: All Linux

Priority: low Severity:medium
Target Release: --- Target Milestone: rc
Assigned To: Prarit Bhargava
QA Contact: BaseOS QE

URL:
Whiteboard:
Keywords: OtherQA, Regression

Depends on:
Blocks: 525703
  Show dependency tree

Reported: 2009-09-11 13:08 EDT by Adam Stokes
Modified: 2011-01-24 19:18 EST (History)
CC List: 9 users (show)

brian.dudek cward emcnabb jaswang jscotka ralph riek sdodson tao

See Also:

Flags: prarit: needinfo? (astokes)
cward: needinfo? (astokes)

 
Fixed In Version:
Technical Notes:
Story Points (Public): ---
Clone Of:
Environment:
Last Closed: 2010-03-30 04:26:47
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:



Attachments (Terms of Use)
updated RHEL5 mcelog.cron (263 bytes, text/plain)
2009-09-15 08:22 EDT, Prarit Bhargava
no flags Details


External Trackers


Description Adam Stokes 2009-09-11 13:08:45 EDT
Description of problem:
Hourly cron job causes high system load under Xen kernel (dom0) without
XenStoreD running

Version-Release number of selected component (if applicable):
mcelog-0.9pre-1.27.el5


How reproducible:
100%

Steps to Reproduce:
1. run cron mcelog on a PV
2. 
3.

Actual results:
Load increase on systems and mcelog process blocks

Expected results:
No process block or load increase

Additional info:
I believe this should be a simple fix, The patch in rhbz#511126 is causing the
regression.

In my opinion we should be testing for domU in this sense:

If we can read /proc/xen/capabilities and grep the status of `grep -q control_d
/proc/xen/capabilities` we can better tell if we are on a guest or not.

Please not this is how we do it in sosreport and you can have a look the xen
plugin there for further info:

https://fedorahosted.org/sos/browser/trunk/src/lib/sos/plugins/xen.py

Look under determineXenHost method.

Thanks
https://bugzilla.redhat.com/show_bug.cgi?id=522827
请使用浏览器的分享功能分享到微信等