You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by BD <bo...@gmail.com> on 2011/04/11 21:37:02 UTC

Re: KahaDB data files not cleaned up

A bit more info on older kahadb journal files. I checked and they are not
open by any process. Deleting them frees up disk space.

If I don't need older messages is it ok to delete old kahadb files or will
it cause problems to the broker?

Is there a tool to read these files to find out which message(s) prevent it
from being cleaned up?

Thank you



--
View this message in context: http://activemq.2283324.n4.nabble.com/KahaDB-data-files-not-cleaned-up-tp3429145p3442915.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: KahaDB data files not cleaned up

Posted by BD <bo...@gmail.com>.
Gary,

I got 11 files from April 5 (db-9.log - db-19.log), 9 files from April 7
(db-301.log, db-303.log - db-310.log) and one with the current time stamp of
April 12 (db-681.log). Time to live is 2 hours so April 5-7 files are not
expected to be there. 

It's now running with debug traces and I'll look for cleanup-related
messages. 

Thank you 

--
View this message in context: http://activemq.2283324.n4.nabble.com/KahaDB-data-files-not-cleaned-up-tp3429145p3445117.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: KahaDB data files not cleaned up

Posted by Gary Tully <ga...@gmail.com>.
To my knowledge 5.5 resolves all know issues with data file cleanup. One
case where seemingly un referenced files remain is where they contain acks
to messages in other data files, so their removal could result in duplicate
delivery on recovery.
There is now detailed trace log messages from the journal that describes the
cleanup process wrt destinations.
On 11 Apr 2011 20:46, "James Green" <ja...@gmail.com> wrote:
> This is something that affects some of my installations.
>
> Is there any reason not to delete a file that should have been removed by
now?
>
> James
>
> On 11 April 2011 20:37, BD <bo...@gmail.com> wrote:
>> A bit more info on older kahadb journal files. I checked and they are not
>> open by any process. Deleting them frees up disk space.
>>
>> If I don't need older messages is it ok to delete old kahadb files or
will
>> it cause problems to the broker?
>>
>> Is there a tool to read these files to find out which message(s) prevent
it
>> from being cleaned up?
>>
>> Thank you
>>
>>
>>
>> --
>> View this message in context:
http://activemq.2283324.n4.nabble.com/KahaDB-data-files-not-cleaned-up-tp3429145p3442915.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>

Re: KahaDB data files not cleaned up

Posted by James Green <ja...@gmail.com>.
This is something that affects some of my installations.

Is there any reason not to delete a file that should have been removed by now?

James

On 11 April 2011 20:37, BD <bo...@gmail.com> wrote:
> A bit more info on older kahadb journal files. I checked and they are not
> open by any process. Deleting them frees up disk space.
>
> If I don't need older messages is it ok to delete old kahadb files or will
> it cause problems to the broker?
>
> Is there a tool to read these files to find out which message(s) prevent it
> from being cleaned up?
>
> Thank you
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/KahaDB-data-files-not-cleaned-up-tp3429145p3442915.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>