Bug 1518008
Summary: | goferd memory leak when installing/removing a package via katello-agent in a loop | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Pavel Moravec <pmoravec> |
Component: | katello-agent | Assignee: | satellite6-bugs <satellite6-bugs> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Jan HutaĆ <jhutar> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | Unspecified | CC: | atripath, bbuckingham, bkearney, david.ford3, jortel, ktordeur, mvanderw, vdeshpan |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-07-02 17:53:13 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: |
Description
Pavel Moravec
2017-11-27 21:48:26 UTC
https://issues.apache.org/jira/browse/PROTON-1120 has been backported into 0.9-21 (or some lder version already). The reproducer is in these lines of code only: sender = self.connection.create_sender(ADDRESS, name="someSender") sender.close() being called in a loop, since: - if I comment out receiver in above reproducer, leak is present - if I comment out sending the message, leak is present - if I make the sender stable (create it once, send msgs in a loop, close at the end), no leak The most simplified reproducer (requires pulp.test queue and qpidd accepting non-SSL connections on 5672): from time import sleep from uuid import uuid4 from proton.utils import BlockingConnection ADDRESS = 'pulp.test.3' URL = 'amqp://pmoravec-sat62-rhel7.gsslab.brq2.redhat.com:5672' DELAY = 0.1 connection = BlockingConnection(url=URL, ssl_domain=None) for n in range(10000): print n sender = connection.create_sender(ADDRESS, name=str(uuid4())) sleep(DELAY) sender.close() sleep(DELAY) (the most simplified reproducer would be even: while True: connection.create_sender(ADDRESS, name=str(uuid4())).close() but that could be blamed as over-artificial reproducer) Thank you for your interest in Satellite 6. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this, please do not reopen. Instead, feel free to contact Red Hat Technical Support. Thank you. Update. This was due to https://issues.apache.org/jira/browse/PROTON-1120 which was addressed in proton 0.12. The satellite version of qpid-proton contained this fix in 6.4 and beyond. |