Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1368718 - qpid dispatch router on capsule leaking memory at scale
qpid dispatch router on capsule leaking memory at scale
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Performance (Show other bugs)
6.2.0
Unspecified Unspecified
urgent Severity urgent (vote)
: 6.2.11
: Unused
Assigned To: satellite6-bugs
Pradeep Kumar Surisetty
scale_lab
: Performance, PrioBumpPM
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-08-20 13:58 EDT by Pradeep Kumar Surisetty
Modified: 2017-08-10 13:02 EDT (History)
15 users (show)

See Also:
Fixed In Version: qpid-dispatch-0.4-21, qpid-cpp-0.34-25
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1463801 (view as bug list)
Environment:
Last Closed: 2017-08-10 13:02:29 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)
qpid dispatch router mem on bigger capsule (67.68 KB, image/png)
2016-08-20 13:58 EDT, Pradeep Kumar Surisetty
no flags Details
qpid dispatch router mem on smaller capsule (66.05 KB, image/png)
2016-08-20 13:59 EDT, Pradeep Kumar Surisetty
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 2978511 None None None 2017-03-22 16:10 EDT
Red Hat Product Errata RHBA-2017:2466 normal SHIPPED_LIVE Satellite 6.2.11 Async Release 2017-08-10 17:01:20 EDT

  None (edit)
Description Pradeep Kumar Surisetty 2016-08-20 13:58:47 EDT
Created attachment 1192484 [details]
qpid dispatch router mem on bigger capsule

Description of problem:

Have registered 5000 content hosts aginst 2 capsules

1) with recommended h/w ( 2 cpus,  8G mem) 
2) With better config ( 8 cpus, 16G mem)

After registration is done, qpid-disptach-router memory is leaking. 
Its gradually increasing 


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


How reproducible:


Steps to Reproduce:
1. Register content hosts at scale against capsule 
2.
3.

Actual results:

Mmeory leak . qpid-disptach-router keep growing  

Expected results:

lesser qpid-disptach-router memory consumption
Additional info:
Comment 1 Pradeep Kumar Surisetty 2016-08-20 13:59 EDT
Created attachment 1192485 [details]
qpid dispatch router mem on smaller capsule
Comment 12 Chris Duryee 2016-09-16 09:14:01 EDT
A user was able to induce a qpidd/qrouterd OOM by registering/unregistering 100x, but with gofer 2.5. The user and myself both tried this with later versions of gofer but did not see any issue. For example, I tried the following which seemed to pass without OOM or other issue:

for i in `seq 1 10000`; do subscription-manager register --username admin --password changeme --environment Library && subscription-manager unregister && sleep 2; done

I will retry with 5k clients.
Comment 13 Chris Duryee 2016-09-16 09:14:59 EDT
Also, the test in #12 was direct against a satellite without any capsules. The 5K test will be against a capsule.
Comment 15 Pavel Moravec 2016-10-20 07:13:07 EDT
(In reply to Chris Duryee from comment #12)
> A user was able to induce a qpidd/qrouterd OOM by registering/unregistering
> 100x, but with gofer 2.5.

Did that test include goferd (re)start? If so, then imho bz1367735 hit.
Comment 16 Chris Duryee 2016-10-20 09:29:21 EDT
re #15, I don't know if goferd was restarted, it may have been. If so it explains the behavior.
Comment 29 Pradeep Kumar Surisetty 2017-03-21 07:07:55 EDT
Havent noticed this lately. 
But noticed this again today

Root cause:  

when we have different versions of qpid-dispatch-router on satellite and capsules, memory of qpid-dispatch-router shoots up


for ex in my case;

satellite : qpid-dispatch-router-0.4-21.el7sat.x86_64

capsuels: 
qpid-dispatch-router-0.6.1-5.el7.x86_64

We need to make sure, we have same version. Then we dont see this issue
Comment 33 Pradeep Kumar Surisetty 2017-08-02 10:01:47 EDT
KCS is updated for this. Thats good enough
Comment 35 errata-xmlrpc 2017-08-10 13:02:29 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/RHBA-2017:2466

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