Change in mom[master]: Fix ever increasing CPU usage

agl at us.ibm.com agl at us.ibm.com
Thu Aug 22 14:39:38 UTC 2013


Adam Litke has submitted this change and it was merged.

Change subject: Fix ever increasing CPU usage
......................................................................


Fix ever increasing CPU usage

In the HostKSM collector we are calculating the number of jiffies that
have been used since the last collection period.  Unfortunately we
never reset self.last_jiff so our count accumulates indefinitely.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=999615

Signed-off-by: Adam Litke <agl at us.ibm.com>
Change-Id: I434dfc454776c8eeb1e2a074132d7b94ca68883f
Reviewed-on: http://gerrit.ovirt.org/18420
Reviewed-by: Martin Sivák <msivak at redhat.com>
---
M mom/Collectors/HostKSM.py
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Adam Litke: Verified; Looks good to me, approved
  Martin Sivák: Looks good to me, but someone else must approve



-- 
To view, visit http://gerrit.ovirt.org/18420
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I434dfc454776c8eeb1e2a074132d7b94ca68883f
Gerrit-PatchSet: 2
Gerrit-Project: mom
Gerrit-Branch: master
Gerrit-Owner: Adam Litke <agl at us.ibm.com>
Gerrit-Reviewer: Adam Litke <agl at us.ibm.com>
Gerrit-Reviewer: Doron Fediuck <dfediuck at redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Mei Liu <liumbj at linux.vnet.ibm.com>
Gerrit-Reviewer: Royce Lv <lvroyce at linux.vnet.ibm.com>



More information about the Engine-commits mailing list