[
https://issues.apache.org/jira/browse/QPID-6213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Stitcher updated QPID-6213:
----------------------------------
Attachment: 0001-QPID-6213-Fix-misuse-of-Timer-in-Queue-cleaning-code.patch
There is an underlying problem with the use of the Timer and TimerTasks in the
trunk qpid code - I don't know if it is causing the issue seen here, but it is
causing the Windows problem.
This is that the purge callback calls Timer.add - the pruge callback looks to
me like it can be called for every item on the purge queue and not just once
per TimerTask firing. this will cause multiple copies of the same timer event
to be on the timer queue. I'm fairly sure this is what is causing the windows
problems that Chuck is seeing.
I attach a speculative patch to fix this issue.
> 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-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]