Bug 2229788
| Summary: | Memory Leak occurs when making repeated large queries against Pulpcore API service | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | wclark | ||||
| Component: | Pulp | Assignee: | satellite6-bugs <satellite6-bugs> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Shweta Singh <shwsingh> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 6.13.0 | CC: | addubey, ahumbe, dkliban, ggainey, iballou, osousa, pcreech, pdwyer, rchan, saydas, shwsingh, vsedmik | ||||
| Target Milestone: | 6.14.0 | Keywords: | PrioBumpGSS, Triaged | ||||
| Target Release: | Unused | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | pulpcore-3.22.9,pulpcore-3.28.5,pulpcore-3.21.12 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 2231496 (view as bug list) | Environment: | |||||
| Last Closed: | 2023-11-08 14:20:16 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
wclark
2023-08-07 16:40:07 UTC
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
Verified. Version Tested: Satellite 6.14.0 Snap 12.0 Verification Steps: 1. Enable few large repos and sync all at once. 2. Monitor memory usage by pulpcore gunicorn process. Result: 1. The spike in memory usage comes down once the syncing of repos get completed. 2. The caching has been removed from pulpcore. 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 (Important: Satellite 6.14 security and bug fix update), 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/RHSA-2023:6818 |