[
https://issues.apache.org/jira/browse/QPID-7784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Keith Wall updated QPID-7784:
-----------------------------
Description:
If I close a virtualhost (either via management or owing to a change of HA
mastership), the QBBs that are associated with pooled IO threads don't get
disposed.
This causes the value returned by {{QBB.getNumberOfActivePooledBuffers()}} to
be incorrect. This value is used to determine when to flow to disk, to this
would cause flow to disk to be more frequent than it needs.
This problem did exist on 6.0/6.1, but was not particular impactful. The
garbage collector will eventually collect the QBBs and the associated direct
memory. The number of threads in the pool is small, so this probably won't
cause a problem.
was:
If I close a virtualhost (either via management or owing to a change of HA
mastership), the QBBs that are associated with pooled IO threads don't get
disposed.
This causes the value returned by {{QBB.getNumberOfActivePooledBuffers()}} to
be incorrect. This would cause messages to flow to disk more than is necessary.
This problem did exist on 6.0/6.1, but was not particular impactful. The
garbage collector would have eventually collected the QBBs and the associated
direct memory.
> Closing a virtualhost does not dispose QBBs still associated with pooled IO
> threads
> -----------------------------------------------------------------------------------
>
> Key: QPID-7784
> URL: https://issues.apache.org/jira/browse/QPID-7784
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Reporter: Keith Wall
>
> If I close a virtualhost (either via management or owing to a change of HA
> mastership), the QBBs that are associated with pooled IO threads don't get
> disposed.
> This causes the value returned by {{QBB.getNumberOfActivePooledBuffers()}} to
> be incorrect. This value is used to determine when to flow to disk, to this
> would cause flow to disk to be more frequent than it needs.
> This problem did exist on 6.0/6.1, but was not particular impactful. The
> garbage collector will eventually collect the QBBs and the associated direct
> memory. The number of threads in the pool is small, so this probably won't
> cause a problem.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]