Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1559432 - Before import cluster monitoring integration consumes lot of CPU and memory
Before import cluster monitoring integration consumes lot of CPU and memory
Status: CLOSED ERRATA
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: web-admin-tendrl-monitoring-integration (Show other bugs)
3.4
Unspecified Unspecified
unspecified Severity unspecified
: ---
: RHGS 3.4.0
Assigned To: gowtham
Daniel Horák
:
Depends On:
Blocks: 1503137
  Show dependency treegraph
 
Reported: 2018-03-22 10:28 EDT by gowtham
Modified: 2018-09-04 03:03 EDT (History)
5 users (show)

See Also:
Fixed In Version: tendrl-monitoring-integration-1.6.1-3.el7rhgs
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-09-04 03:02:28 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Github Tendrl/monitoring-integration/issues/377 None None None 2018-03-28 11:39 EDT
Red Hat Product Errata RHSA-2018:2616 None None None 2018-09-04 03:03 EDT

  None (edit)
Description gowtham 2018-03-22 10:28:12 EDT
Description of problem:
Monitoring-integration sync-interval time is fetched from gluster_ns in central-store. But before cluster import gluster_ns is not created in central store. So monitoring-integration sync thread is keep executed without any break, So it consumes a lot of CPU and memory resources.

Version-Release number of selected component (if applicable):


How reproducible:
Install and start monitoring-integration before import cluster and check CPU and memory resource consumption.

Steps to Reproduce:
1.
2.
3.

Actual results:
monitoring-integration consumes a lot of CPU and memory

Expected results:
monitoring-integration should consume less CPU and memory

Additional info:
Comment 2 Martin Bukatovic 2018-03-28 04:28:21 EDT
Could you provide more details about:

* Version where the bug is present.
* Is it possible to reproduce this on previously released RHGS WA?
* Link to upstream merge request.
Comment 3 gowtham 2018-03-28 11:41:53 EDT
It is possible to reproduce in all previous released RHGS, After executing ansible script for installing tendrl components, check the CPU and memory resource consumption using a command top.
Comment 4 gowtham 2018-03-28 12:06:39 EDT
Check cpu and memory resource which is used by monitoring-integration in server node, it is reproducible in rhgs 1.6.1-1
Comment 5 gowtham 2018-03-28 12:43:22 EDT
sorry, In version 3.3.1 it can be reproducible
Comment 6 gowtham 2018-03-28 12:43:31 EDT
sorry, In version 3.3.1 it can be reproducible
Comment 7 gowtham 2018-03-28 13:14:57 EDT
I meant 1.6.1-1 is actually RHGS-WA NVR 1.6.1-1
Comment 10 Daniel Horák 2018-05-15 05:28:07 EDT
Reproduced on tendrl-monitoring-integration-1.6.1-1.el7rhgs.noarch.
Comment 11 Daniel Horák 2018-05-15 06:14:26 EDT
Tested and verified on tendrl-monitoring-integration-1.6.3-2.el7rhgs.noarch.

CPU and memory consumption of tendrl-monitoring-integration service is constantly bellow 1%.

# ps -p $(echo $(ps aux | grep [t]endrl-monitoring-integration | awk '{print $2}') | sed 's/ /,/') -o %cpu,%mem,cmd -h;
 0.4  0.3 /usr/bin/python /usr/bin/tendrl-monitoring-integration

>> VERIFIED
Comment 13 errata-xmlrpc 2018-09-04 03:02:28 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:2616

Note You need to log in before you can comment on or make changes to this bug.