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(a)us.ibm.com>
Change-Id: I434dfc454776c8eeb1e2a074132d7b94ca68883f
Reviewed-on:
http://gerrit.ovirt.org/18420
Reviewed-by: Martin Sivák <msivak(a)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(a)us.ibm.com>
Gerrit-Reviewer: Adam Litke <agl(a)us.ibm.com>
Gerrit-Reviewer: Doron Fediuck <dfediuck(a)redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak(a)redhat.com>
Gerrit-Reviewer: Mei Liu <liumbj(a)linux.vnet.ibm.com>
Gerrit-Reviewer: Royce Lv <lvroyce(a)linux.vnet.ibm.com>