Actions
Bug #24389
closedContent Host Applicable Package List page can DOS Foreman server and Postgres
Description
This is very similar to https://projects.theforeman.org/issues/20167
Copied from https://bugzilla.redhat.com/show_bug.cgi?id=1608597
Description of problem:
If you have lots of hosts that need packages, fetching the "applicable" packages can be very slow.
1) Take large Katello installation with 20,000 content hosts
2) Navigate to Content Host -> Pick a host with applicable Errata
3) Click Packages -> Applicable Packages
4) On large installations this page will never return (query takes 4h+ to complete).
During execution of said query, Postgres will consume 20-40GB of disk swapping out the query results, consuming way more resources than it should and slowing overall operations of the Satellite.
Actions