[
https://issues.apache.org/jira/browse/QPID-6213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pavel Moravec updated QPID-6213:
--------------------------------
Attachment: qpidd.log.gz
I tested current upstream with Chuck's patch, but.. I still see the same
problem as before (maybe little more often than without this patch).
Attached are trace logs from the broker.
Reproducer:
./src/qpidd --auth=no --max-connections=10000 --queue-purge-interval=60
--log-to-file=/tmp/qpidd.log --trace --log-to-stderr=no
Then run bash script:
noDelQueues=1000
if [ $# -gt 0 ]; then
noDelQueues=$1
fi
maxIter=180
mySleep=10
echo "$(date): creating $noDelQueues connections.."
for i in $(seq 1 $noDelQueues); do qpid-receive --connection-options
"{'heartbeat':5}" -a "autoDelQueueNoBound_${i}; {create:always, node:{
x-declare:{auto-delete:True, arguments:{'qpid.auto_delete_timeout':1}}}}" -f
--print-content=no > /dev/null 2>&1 & sleep 0.1; done
iter=0
while true; do
iter=$(($((iter))+1))
conns=$(pgrep qpid-receive | wc -w)
echo "$(date): iteration:$iter connections:$conns"
if [ $conns -lt $noDelQueues ]; then
echo "error: found just $conns connections instead of
$noDelQueues, in iteration $iter"
break
fi
if [ $iter -eq $maxIter ]; then
echo "no error"
break
fi
sleep $mySleep
done
that usually finishes in 5-15th iteration (by error).
> qpidd misses heartbeats
> -----------------------
>
> Key: QPID-6213
> URL: https://issues.apache.org/jira/browse/QPID-6213
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Affects Versions: 0.30
> Reporter: Gordon Sim
> Assignee: Gordon Sim
> Fix For: 0.31
>
> Attachments: qpid-6213-svn-01.patch, qpidd.log.gz
>
>
> Caused by https://issues.apache.org/jira/browse/QPID-5758. Reproducer from
> Pavel Moravec: create many heartbeat enabled connections and queues (e.g. 500
> idle receivers, each with their own queue) and have the purge interval
> relatively short (to speed up reproducing).
> The broker misses heartbeats and connections get timed out.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]