| Summary: | Consumer GET call performance issue with large # of consumers and entitlements | |||
|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Mike McCune <mmccune> | |
| Component: | Candlepin | Assignee: | satellite6-bugs <satellite6-bugs> | |
| Status: | CLOSED ERRATA | QA Contact: | jcallaha | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 6.2.4 | CC: | abalakht, aperotti, bbuckingham, bkearney, jcallaha, mmccune, zhunting | |
| Target Milestone: | Unspecified | Keywords: | PrioBumpField, Triaged | |
| Target Release: | Unused | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | candlepin-0.9.54.17-1 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1399768 1417071 (view as bug list) | Environment: | ||
| Last Closed: | 2017-03-06 08:35:07 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: | ||
| Bug Depends On: | 1399768 | |||
| Bug Blocks: | 1417071 | |||
|
Description
Mike McCune
2016-11-29 16:57:02 UTC
Fixed upstream in candlepin-0.9.54.17-1 At a high level, to test this you need a database with: * 5,000+ hosts * each host consuming a subscription * Deploy this configuration: https://access.redhat.com/solutions/2780871 To test, run subscription-manager refresh on the one of the subscribed hosts and watch the SQL logs and ensure you don't see queries as identified in this BZ output in the SQL logs. Verified in Satellite 6.2.8 Snap 2 I performed the steps outlined in #4 on a system with 100k+ content host entries, 9,506 of which are consuming subscriptions. After subscribing an additional 5 systems and running subscription manager refresh, I do not see any messages logged in today's log file (seen below). -bash-4.2# tail -f postgresql-Wed.log 2017-02-15 15:39:52 EST LOG: received SIGHUP, reloading configuration files 2017-02-15 15:39:52 EST LOG: parameter "log_min_duration_statement" changed to "500" 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:0447 |