[
https://issues.apache.org/jira/browse/QPID-6213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chuck Rolke updated QPID-6213:
------------------------------
Attachment: qpid-6213-broker-1.log
qpid-6213-broker.log
qpid-6213-svn-14.patch
qpid-6213-svn-14.patch
qpid-6213-broker.log
qpid-6213-broker-1.log
# Passes Pavel's test case with 1000 connections
# Incorporates AStiticher's task control logic
# Adds 1 second timeout in queue cleaner purge to relinquish thread
# Adds one-shot process option in PollableQueue start that allows QueueCleaner
to reschedule itself after timeout
# Log statements show purge progress
In Pavel's test there are 1000 empty queues that are purged in 2 or 3 mS. There
is an interesting pattern how the queues are batched. In most cases the queues
come in two batches of varying sizes (200,800), (153,847),(502,498) and so on.
But occasionally there are 90 batches of 1 followed by a single batch of 910.
See the attached qpid-6213-broker.log.
In tests that sleep 5 mS per queue in the queue cleaner, both the purge 1
second thread reschedule time and the stalled task restart time are evident.
qpid-6213-broker-1.log
If review board worked (INFRA-8732) I'd put this up as a commit ready to go.
> 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:
> 0001-QPID-6213-Fix-misuse-of-Timer-in-queue-cleaning-code.patch,
> QPID-6213-svn-10.patch, QPID-6213_suggested_further_fix.patch,
> qpid-6213-broker-1.log, qpid-6213-broker.log, qpid-6213-svn-01.patch,
> qpid-6213-svn-14.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]