Bug 1322394

Summary: Number of threads grows on SmartProxyWorkers
Product: Red Hat CloudForms Management Engine Reporter: Alex Krzos <akrzos>
Component: SmartState AnalysisAssignee: Rich Oliveri <roliveri>
Status: CLOSED DUPLICATE QA Contact: Dave Johnson <dajohnso>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.5.0CC: jhardy, obarenbo
Target Milestone: GA   
Target Release: 5.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-31 15:13:57 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:
Attachments:
Description Flags
Appliance CPU during workload
none
Memory during workload
none
Summarized ruby process/thread counts
none
SmartProxyWorker Thread Count during workload
none
SmartProxy Worker Memory Usage during workload none

Description Alex Krzos 2016-03-30 12:21:29 UTC
Description of problem:
Running a continuous smart state analysis workload that scans several VMs, a single Host, and a single datastore in VMware, the total number of threads for each smart proxy worker appears to grow until the worker is recycled.

Workload: Via UI, every 45 seconds, scan 3 vms, scan a host, scan a datastore for 2 hours.

Version-Release number of selected component (if applicable):
5.5.3.2
I am unsure if this affects previous versions but will run a test on an older version to see if it exists.

How reproducible:
It reproduces on a VMware environment.  Running against my RHEVM environment it does not reproduce, however the RHEVM workload does not scan data-stores.

Steps to Reproduce:
1. Add VMware provider to appliance
2. Add vddk to appliance
3. Continuously scan vms, host, and datastore and watch number of threads for each smart proxy worker.

Actual results:


Expected results:


Additional info:
Perhaps it is related to https://bugzilla.redhat.com/show_bug.cgi?id=1321934

Attached are screenshots of system performance during 2 hour workload.

Comment 2 Alex Krzos 2016-03-30 12:22:05 UTC
Created attachment 1141726 [details]
Appliance CPU during workload

Comment 3 Alex Krzos 2016-03-30 12:22:21 UTC
Created attachment 1141728 [details]
Memory during workload

Comment 4 Alex Krzos 2016-03-30 12:23:13 UTC
Created attachment 1141729 [details]
Summarized ruby process/thread counts

Comment 5 Alex Krzos 2016-03-30 12:23:38 UTC
Created attachment 1141730 [details]
SmartProxyWorker Thread Count during workload

Comment 6 Alex Krzos 2016-03-30 12:24:08 UTC
Created attachment 1141731 [details]
SmartProxy Worker Memory Usage during workload

Comment 7 Dave Johnson 2016-03-31 15:13:57 UTC
Dennis is believing these two have the same root cause.

*** This bug has been marked as a duplicate of bug 1321934 ***