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 <[email protected]>
Change-Id: I434dfc454776c8eeb1e2a074132d7b94ca68883f
Reviewed-on: http://gerrit.ovirt.org/18420
Reviewed-by: Martin Sivák <[email protected]>
---
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 <[email protected]>
Gerrit-Reviewer: Adam Litke <[email protected]>
Gerrit-Reviewer: Doron Fediuck <[email protected]>
Gerrit-Reviewer: Martin Sivák <[email protected]>
Gerrit-Reviewer: Mei Liu <[email protected]>
Gerrit-Reviewer: Royce Lv <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to