Bug 1487050

Summary: Trends feature uses a lot of memory and CPU
Product: Red Hat Satellite Reporter: Giridhar <gkonda>
Component: TrendsAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Katello QA List <katello-qa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.2.11CC: anerurka, gkonda, inecas, sshtein
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-21 23:25:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Giridhar 2017-08-31 07:23:57 UTC
Description of problem:

Trends when setup uses a lot of memory and CPU

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

How reproducible:
Always and 100 %

Steps to Reproduce:
1.Log into satellite
2.Click on monitoring -> Trends
3.Create new trends with different parameters (2-3)
4.Wait for some time(may be a day) and use the top command to see the stats

Actual results:
The trends processes are consuming a lot of resources and sometimes the pocesses are even killed due to OOM

Expected results:
Trends should not use too much of resources 

Additional info:

Comment 3 Ivan Necas 2017-09-15 11:21:57 UTC
Connecting redmine issue http://projects.theforeman.org/issues/20932 from this bug