Bug 613753 - Unexpected close of client connections when reproducing bug 612458
Summary: Unexpected close of client connections when reproducing bug 612458
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: beta
Hardware: All
OS: Linux
urgent
high
Target Milestone: 1.3
: ---
Assignee: Alan Conway
QA Contact: ppecka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-12 18:28 UTC by Alan Conway
Modified: 2010-10-20 11:30 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-20 11:30:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Alan Conway 2010-07-12 18:28:11 UTC
Description of problem:

perftest hangs with "PublishThread connection closed" when trying to reproduce 612458

Version-Release number of selected component (if applicable): 
qpid-cpp-server-ssl-0.7.946106-6.el5 

How reproducible: 
happens in < 10 minutes running the reproducer.

Steps to Reproduce: 
see bug 612458
  
Actual results: 
perftest hangs

Expected results: 
perftest completes sucessfully

Additional info:

Comment 1 Alan Conway 2010-07-13 14:30:13 UTC
Faster reproducer: on 4 broker cluster:

for h in mrg32 mrg33 mrg34 mrg36; do
    for ((i=0; i<3; ++i)); do
        ssh $h "while true; do date +%T; QPID_LOG_ENABLE=debug+ /usr/bin/time -f%E qpid-perftest -s --base-name $h-$i --count 5000 || echo FAILED; done" > perftest.$h-$i.log 2>\
&1 &
    done
done

while ! grep -i "PublishThread exception: Connection closed" *.log; do echo -n . ; sleep 1; done

Comment 2 Alan Conway 2010-07-14 21:38:59 UTC
Fixed on trunk 964213 mrg_1.3.x branch:
http://mrg1.lab.bos.redhat.com/git/?p=qpid.git;a=commitdiff;h=13f2be428d4cc93b36689dcd81226d6d9aeea797

Comment 3 ppecka 2010-09-08 09:10:31 UTC
Verified on RHEL 5.5 i386 / x86_64:

#rpm -qa | grep -P '(qpid|ais|qmf)' | sort -u
openais-0.80.6-16.el5_5.7
openais-devel-0.80.6-16.el5_5.7
python-qmf-0.7.946106-12.el5
python-qpid-0.7.946106-13.el5
qmf-0.7.946106-12.el5
qmf-devel-0.7.946106-12.el5
qpid-cpp-client-0.7.946106-12.el5
qpid-cpp-client-devel-0.7.946106-12.el5
qpid-cpp-client-devel-docs-0.7.946106-12.el5
qpid-cpp-client-ssl-0.7.946106-12.el5
qpid-cpp-mrg-debuginfo-0.7.946106-6.el5
qpid-cpp-server-0.7.946106-12.el5
qpid-cpp-server-cluster-0.7.946106-12.el5
qpid-cpp-server-devel-0.7.946106-12.el5
qpid-cpp-server-ssl-0.7.946106-12.el5
qpid-cpp-server-store-0.7.946106-12.el5
qpid-cpp-server-xml-0.7.946106-12.el5
qpid-java-client-0.7.946106-8.el5
qpid-java-common-0.7.946106-8.el5
qpid-tools-0.7.946106-10.el5

-->VERIFIED


Note You need to log in before you can comment on or make changes to this bug.