Bug 1559432 - Before import cluster monitoring integration consumes lot of CPU and memory
Summary: Before import cluster monitoring integration consumes lot of CPU and memory
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: web-admin-tendrl-monitoring-integration
Version: rhgs-3.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: RHGS 3.4.0
Assignee: gowtham
QA Contact: Daniel Horák
URL:
Whiteboard:
Depends On:
Blocks: 1503137
TreeView+ depends on / blocked
 
Reported: 2018-03-22 14:28 UTC by gowtham
Modified: 2018-09-04 07:03 UTC (History)
5 users (show)

Fixed In Version: tendrl-monitoring-integration-1.6.1-3.el7rhgs
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-04 07:02:28 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github Tendrl monitoring-integration issues 377 0 None None None 2018-03-28 15:39:23 UTC
Red Hat Bugzilla 1538248 0 unspecified CLOSED [RFE] Performance Improvements 2023-09-14 04:15:57 UTC
Red Hat Product Errata RHSA-2018:2616 0 None None None 2018-09-04 07:03:21 UTC

Internal Links: 1538248

Description gowtham 2018-03-22 14:28:12 UTC
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 08:28:21 UTC
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 15:41:53 UTC
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 16:06:39 UTC
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 16:43:22 UTC
sorry, In version 3.3.1 it can be reproducible

Comment 6 gowtham 2018-03-28 16:43:31 UTC
sorry, In version 3.3.1 it can be reproducible

Comment 7 gowtham 2018-03-28 17:14:57 UTC
I meant 1.6.1-1 is actually RHGS-WA NVR 1.6.1-1

Comment 10 Daniel Horák 2018-05-15 09:28:07 UTC
Reproduced on tendrl-monitoring-integration-1.6.1-1.el7rhgs.noarch.

Comment 11 Daniel Horák 2018-05-15 10:14:26 UTC
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 07:02:28 UTC
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.