The issue occurs when making repeated large queries against the API service. The cache for the Pulpcore API access policy holds references to entire instances of views. The caching mechanism for the Pulpcore API access policy was introduced in Pulpcore 3.20 and the first Satellite release in which it appears is Satellite 6.13.0
I created this BZ as a spin-off from from 2122872 to avoid overloading that BZ, which was originally created for a Satellite version that did not have this issue, and already tracks fixes in other components (satellite-installer, via puppet-pulpcore)
I am not sure about what everyone else feels about handling this scenario via new BZ but even if we are tracking this just for the lru_cache fix, the BZ should be having Version set to 6.13.2 or 6.13.3 but not 6.14.0 .. This was an issue reported on 6.13 only by >= 4 customers for sure. And perhaps those cases should be identified from the other BZ and attached here as well.
Created attachment 1982843 [details] RHEL 8 Hotfix RPM for Satellite 6.13.3 A hotfix RPM is now available for Satellite 6.13.3 on RHEL 8. Installation instructions: 1. Take a backup or snapshot of the Satellite server. 2. Download the hotfix RPM python39-pulpcore-3.21.9-2.HOTFIXRHBZ2229788.el8pc.noarch.rpm from the attachment. 3. # dnf install ./python39-pulpcore-3.21.9-2.HOTFIXRHBZ2229788.el8pc.noarch.rpm --disableplugin=foreman-protector 4. # satellite-maintain service restart