Bug 591650
Summary: | qpidd appears to leak connections during scale tests | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise MRG | Reporter: | Ken Giusti <kgiusti> | ||||||||
Component: | qpid-cpp | Assignee: | Gordon Sim <gsim> | ||||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Jeff Needle <jneedle> | ||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | high | ||||||||||
Version: | beta | CC: | gsim, jross | ||||||||
Target Milestone: | 1.3 | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | All | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | Type: | --- | |||||||||
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
Ken Giusti
2010-05-12 19:23:46 UTC
Created attachment 413530 [details]
log msg issued by broker on kill -9 of remote consoles.
log msg issued by broker on kill -9 of remote consoles.
Created attachment 413531 [details]
output of qpid-stat -c showing connections that should've been cleaned up.
Fixed on trunk (r950201) and in release repo (http://mrg1.lab.bos.redhat.com/git/?p=qpid.git;a=commit;h=c9a6a956b126ccc27e03cb32cea269cc3a0b495f). A simple reproducer is to run e.g. qpid-perftest --size 10 --count 10000 --nsubs 500 --npubs 500 and kill it while in progress, then check that qpid-stat -c does not report any of the perftest connections still active, (Even without this fix this passed once or twice for me, but after a few iterations at most it should show up the issue). Proposing this for verification. Verified on both RHELs, both architectures, with latest packages and 590 runs of reproducting code as mentioned in Comment #3 (see the script below) without a single failure. ----------------------------------- %< ------------------------------------- #!/bin/sh # qpid-cpp-server qpid-cpp-client-devel qpid-tools RUN=1 while echo === Run $RUN === qpid-perftest --size 10 --count 10000 --nsubs 500 --npubs 500 & sleep 10 && kill $! test `qpid-stat -c | wc -l` -eq 4 do NUM=`netstat -n | wc -l` while test `netstat -n | wc -l` -eq $NUM do echo -n . sleep 1 done echo RUN=$((RUN+1)) done Created attachment 522319 [details]
Verification script
Once again, the same script, now as the attachment.
|