activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (JIRA)" <>
Subject [jira] [Commented] (AMQ-2736) KahaDB doesn't clean up old files
Date Thu, 23 Jun 2011 14:03:48 GMT


Gary Tully commented on AMQ-2736:

Auto consolidation would be a nice enhancement. Can you open a new issue to track that.

As you know, you can also reduce the journal data file size to reduce the overall disk usage
in this case.

One other thought, using a camel route, you can easily consume and re-submit messages so that
they are moved to the current journal data file. Have a look at the route from the dlq back
the the original destination for inspiration.
The idea would be to periodically fire a consumer, using quarts, that removes and adds messages.
See the test that pulls the original destination from the message.

> KahaDB doesn't clean up old files
> ---------------------------------
>                 Key: AMQ-2736
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.3.2
>            Reporter: Adrian Trenaman
>            Assignee: Gary Tully
>            Priority: Critical
>             Fix For: 5.5.0
>         Attachments:, AMQ2736Test_should_with_this_diff.txt,,
amq-2987-testcase.patch, amq-2987.patch
> Over time, we're seeing that kahadb doesn't clean up old journal files. As a result,
we eventually run out of disk space, or rather, we hit our usage limits and our producers
are slowed down by the producer flow control mechanism. Others have experienced this problem
too (for example, see
> For now, we're moving back to the old amqPersistenceStore. 

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message