Bug 1462350
Summary: | unqualified search on hostgroup page results in large memory spike and potential OOM | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Justin Sherrill <jsherril> | ||||||
Component: | Host Group | Assignee: | Justin Sherrill <jsherril> | ||||||
Status: | CLOSED ERRATA | QA Contact: | jcallaha | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | 6.2.10 | CC: | andrew.schofield, bbuckingham, bkearney, cduryee, inecas, jcallaha, ktordeur, tbrisker, zhunting | ||||||
Target Milestone: | Unspecified | Keywords: | FieldEngineering, PrioBumpField, Triaged | ||||||
Target Release: | Unused | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | foreman-1.11.0.81-1 | Doc Type: | If docs needed, set a value | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | |||||||||
: | 1463802 (view as bug list) | Environment: | |||||||
Last Closed: | 2017-08-10 17:02:29 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
Justin Sherrill
2017-06-16 19:50:56 UTC
Sample user data: > Hostgroup.count => 248 > Puppetclass.count => 234 > HostgroupClass.count => 2248 Created redmine issue http://projects.theforeman.org/issues/20038 from this bug Created attachment 1288458 [details]
Patch
Upstream bug assigned to jsherril Upstream bug assigned to jsherril Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20038 has been resolved. Verified in Satellite 6.2.11 Snap 2 I used the steps provided in the original description. Hostgroups: 251 Puppet Classes per HG: 635 When performing the unqualified searches "clone", "clone10", "clone109"; no search took longer than 1.5s for the page to return. Average load times were around 600ms. See attached screenshot for search and browser timeline. Additionally, monitoring the memory usage in the machine showed no significant memory spikes. Created attachment 1305640 [details]
verification screenshot
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 |