| Summary: | Memory leak and occasional segfault in qdrouterd when (un)installing a package from Satellite6 | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Brad Buckingham <bbuckingham> |
| Component: | katello-agent | Assignee: | satellite6-bugs <satellite6-bugs> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Katello QA List <katello-qa-list> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.1.6 | CC: | anazmy, bbuckingham, cduryee, egolov, katello-bugs, katello-qa-list, mlinden, pmoravec, sthirugn, tross |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1312419 | Environment: | |
| Last Closed: | 2016-09-26 16:01:45 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: | 1312419 | ||
| Bug Blocks: | |||
|
Comment 2
Pavel Moravec
2016-08-10 12:57:31 UTC
Also, some memory leak is seen when following this scenario:
python client (just sending a messages via qdrouterd to some qpidd exchange via link routing):
#!/usr/bin/python
from time import sleep
from uuid import uuid4
from proton import ConnectionException
from proton import Message
from proton.utils import BlockingConnection
import traceback
import random
conn = BlockingConnection("proton+amqp://0.0.0.0:5648", ssl_domain=None, heartbeat=2)
while True:
try:
snd = conn.create_sender("pulp.ex", name=str(uuid4()))
while True:
snd.send(Message(body="test", durable=True))
print "msg sent"
sleep(random.uniform(0.01,0.1))
except ConnectionException:
try:
if conn:
conn.close()
conn = BlockingConnection("proton+amqp://0.0.0.0:5648", ssl_domain=None, heartbeat=2)
except Exception, e:
print e
print(traceback.format_exc())
Run it in one terminal, and in another one time to time restart qpidd service (that will drop links and break the script, so run the script in a loop).
Not sure if the leak is the same or not, feel free to create new BZ if it is a different leak.
|