| Summary: | cdn-sync leaks memory when syncing | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Satellite 5 | Reporter: | Jan Hutař <jhutar> | ||||||
| Component: | Satellite Synchronization | Assignee: | Gennadii Altukhov <galtukho> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Radovan Drazny <rdrazny> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 580 | CC: | dyordano, galtukho, mkorbel, rdrazny, tlestach | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | spacewalk-backend-2.5.3-37-sat | Doc Type: | If docs needed, set a value | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2017-06-21 12:11:08 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: | |||||||||
| Bug Blocks: | 1340444 | ||||||||
| Attachments: |
|
||||||||
|
Description
Jan Hutař
2016-11-22 13:38:43 UTC
Patch available in upstream. spacewalk.git: 76552282c5708718d71ddce48031458d78ac7f03 ^^^^^ wrong commit hash, correct is b00061fc63c656c666a7894219f5eebeca4ebeaa. Cherry-picked to SATELLITE-5.8: 2278513f873c602261bc5ed254a4a69850f43456 Reproduced on spacewalk-backend-2.5.3-34. When synchronizing a big base channel with multiple child channels (rhel-x86_64-workstation-7 and all its childchannels), cdn-sync memory usage was climbing steadily, reaching gigs of memory at the end. Verified on spacewalk-backend-2.5.3-41. I have used Jan's monitoring snippet from the initial comment. I have attached its results, and created a simple chart to see memory usage for a long running cdn-sync process. VERIFIED Created attachment 1234391 [details]
Memory usage log after fix
Created attachment 1234392 [details]
Memory usage chart after fix
|