activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMQ-3351) Usage of the temp store index by the PList needs the be improved
Date Thu, 02 Jun 2011 15:17:47 GMT
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
             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

Mime
View raw message