There is no option to compact KahaDB. The current solution for the problem of journal files not being cleaned up is to use multi kahadb. Gary has a good post about it here http://blog.garytully.com/2011/11/activemq-multiple-kahadb-instances.html
There's a couple open tickets to add compaction to KahaDB. On Tue, Sep 29, 2015 at 10:10 AM, Clebert Suconic <clebert.suco...@gmail.com > wrote: > Isn't there any option to compact the journals on activemq5? > > In a journal sometimes you have the add-delete-add-add-delete somehow that > you can't can't really clean it unless you compact the whole thing. Most of > the times I had this issue was because I had a pending TX or something. > > > Also: is there any pending XA Transactions? > > On Tue, Sep 29, 2015 at 9:29 AM, <barry.barn...@wellsfargo.com> wrote: > > > All Topic queue sizes in JConsole show 0, and dispatch counts show 0. > Any > > other suggestions? > > > > Regards, > > > > Barry > > -----Original Message----- > > From: tbai...@gmail.com [mailto:tbai...@gmail.com] On Behalf Of Tim Bain > > Sent: Tuesday, September 29, 2015 1:14 AM > > To: ActiveMQ Users > > Subject: Re: Nothing on queues, Journal files not getting cleaned up > > > > I trust you've confirmed that there are no messages pending on topics as > > well as queues? JMX is the easiest way I know to confirm that if you > > haven't already done so. > > > > Are some but not all journal files being deleted, or none at all? > > On Sep 28, 2015 8:44 AM, <barry.barn...@wellsfargo.com> wrote: > > > > > Hello, > > > > > > How is it that our journal files continue to grow, yet no messages are > on > > > the queues? > > > > > > ActiveMQ 5.11.1, Using KahaDB (not levelDB). > > > > > > How can you tell if a kahaDB scheduler is waiting, and in need of > > clearing? > > > > > > Nothing on the Advisory queues (no network of brokers), nothing on the > > > DLQ. Where else can I look? Our txlogs are very large as well. > > > Application Teams advise their transaction processing IS committing on > > gets > > > and puts, etc.. > > > > > > Regards, > > > > > > Barry > > > > > > > > > > > > > > > -- > Clebert Suconic >