Bug 1438945

Summary: with 20k hosts registered, concurrent registration of more than 30 hosts is almost impossible due to big ruby memory consumption
Product: Red Hat Satellite Reporter: Jan Hutař <jhutar>
Component: RegistrationAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.8CC: bbuckingham, bkearney, cduryee, jcallaha, jhutar, mmccune, pmoravec, psuriset
Target Milestone: UnspecifiedKeywords: Performance, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: scale_lab
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-11 16:34:06 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:
Attachments:
Description Flags
ruby RSS memory during registration (times on the screenshot are in CEST) none

Description Jan Hutař 2017-04-04 20:14:12 UTC
Description of problem:
With 20k hosts registered, concurrent registration of more than 30 hosts is almost impossible due to big ruby memory consumption.


Version-Release number of selected component (if applicable):
satellite-6.2.8-4.0.el7sat.noarch


How reproducible:
1 of 1


Steps to Reproduce:
1. When there is a small number of hosts registered to Satellite and with
   some tunings, it is possible to concurrently register almost 100 hosts
2. With 20k hosts already registered, Satellite had a severe memory issues
   when I was registering 36 hosts in parallel


Actual results:
Ruby RSS memory goes up to 68 GB


Expected results:
It should be possible to register more systems in parallel than 36 no matter how many systems is already registered

Comment 1 Jan Hutař 2017-04-04 20:14:49 UTC
Created attachment 1268744 [details]
ruby RSS memory during registration (times on the screenshot are in CEST)

Comment 3 jcallaha 2017-04-07 15:10:11 UTC
Are these 20k active hosts or just the host entries?

Comment 4 Pradeep Kumar Surisetty 2017-04-07 15:11:40 UTC
(In reply to jcallaha from comment #3)
> Are these 20k active hosts or just the host entries?

This is scale environment with containers ( as same as real hosts).