[
https://issues.apache.org/jira/browse/AMQ-3351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary Tully resolved AMQ-3351.
-----------------------------
Resolution: Fixed
fix in http://svn.apache.org/viewvc?rev=1130607&view=rev
plist now based on listIndex which keeps multiple entries in pages and links
between pages to provide a linked list of lists. This greatly reduces the page
access.
> Usage of the temp store index by the PList needs the be improved
> ----------------------------------------------------------------
>
> Key: AMQ-3351
> URL: https://issues.apache.org/jira/browse/AMQ-3351
> Project: ActiveMQ
> Issue Type: Improvement
> Components: Message Store
> Affects Versions: 5.5.0
> Reporter: Gary Tully
> Assignee: Gary Tully
> Labels: consumer, cursor, nonpersistent, slow, temp
> Fix For: 5.6.0
>
>
> Problem manifests when systemUsage memory limit is triggered and the pending
> message cursor for non persistent messages is flushing its in memory cache to
> temp store, this is taking a long time and in the mean time, other cursors
> that need to flush to disk are blocking on the temp store, and other sends to
> that destination are blocked.
> In this scenario, the broker will come back to life once the flush completes.
> The problem is that the all cursors will see the same limit at the same time
> and try and flush.
> The usage of the temp store index by the PList needs the be improved, it is
> not optimal at the moment as it uses too much space in the index. It uses a
> page per entry and reading from it, once the page cache is exhausted, is too
> slow.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira