Project

General

Profile

Actions

Bug #19394

closed

subscription page unusable with many hosts registered

Added by Brad Buckingham almost 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Subscriptions
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1422307

Description of problem:

If you have a satellite with a large number of hosts (perhaps 40K or more), the subscriptions page becomes unusable. It is reasonably fast to view the list of subs, but if you click one of the subscriptions, it can take hours for the page to return. Additionally, a large amount of memory is used by the passenger worker after this happens.

Steps to Reproduce:
1. register a large number of hosts, and have them all use the same pool
2. click subscriptions page, then click any subscription (doesn't have to be the sub with all the hosts)

Actual results: time for page to return is slower than pizza delivery, passenger worker uses multiple GB of memory when complete.

Expected results: page loads in under 5 seconds

Additional info: the refactor to the hosts method in https://github.com/Katello/katello/commit/440b51d54a020885d2680ce9edeef01b477a28b4#diff-457d74b9b2d0b6a2f062d4ea6b414d4b seems to help, in that it will only be slow when clicking the pool with all the hosts attached instead of any pool. However, if you click the pool with the hosts, it is very slow.


Related issues 1 (0 open1 closed)

Blocks Katello - Bug #20587: change import subscriptions to a more general taskClosedJohn Mitsch08/14/2017Actions
Actions #1

Updated by Brad Buckingham almost 7 years ago

  • Subject changed from subscription page unusable with many hosts registered to subscription page unusable with many hosts registered
  • Target version set to 187
  • translation missing: en.field_release set to 228
Actions #2

Updated by Brad Buckingham almost 7 years ago

  • Assignee set to Andrew Kofink
Actions #3

Updated by Brad Buckingham almost 7 years ago

  • Target version changed from 187 to 193
Actions #4

Updated by Justin Sherrill almost 7 years ago

  • Assignee deleted (Andrew Kofink)
Actions #5

Updated by Justin Sherrill almost 7 years ago

  • Priority changed from Urgent to High
  • translation missing: en.field_release changed from 228 to 258
Actions #6

Updated by Brad Buckingham almost 7 years ago

  • Target version changed from 193 to 196
Actions #7

Updated by John Mitsch almost 7 years ago

  • Assignee set to John Mitsch
Actions #8

Updated by Justin Sherrill almost 7 years ago

  • translation missing: en.field_release changed from 258 to 267
Actions #9

Updated by Brad Buckingham almost 7 years ago

  • Target version changed from 196 to 202
Actions #10

Updated by Justin Sherrill almost 7 years ago

  • translation missing: en.field_release changed from 267 to 281
Actions #11

Updated by Brad Buckingham almost 7 years ago

  • Target version changed from 202 to 205
Actions #12

Updated by The Foreman Bot almost 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6885 added
Actions #13

Updated by Justin Sherrill over 6 years ago

  • translation missing: en.field_release changed from 281 to 286
Actions #14

Updated by Brad Buckingham over 6 years ago

  • Target version changed from 205 to 208
Actions #15

Updated by Justin Sherrill over 6 years ago

  • translation missing: en.field_release changed from 286 to 250
Actions #16

Updated by John Mitsch over 6 years ago

  • Blocks Bug #20587: change import subscriptions to a more general task added
Actions #17

Updated by Brad Buckingham over 6 years ago

  • Target version changed from 208 to 213
Actions #18

Updated by John Mitsch over 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF