activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bain <tb...@alumni.duke.edu>
Subject Re: Store percent used
Date Tue, 28 Jul 2015 05:00:47 GMT
If you examine the broker via JMX, do you see an increasing number of
messages on the various destinations as the percent usage increases (which
would indicate that the deletions are not succeeding)?

Have you confirmed that messages are not building up in the DLQ (dead
letter queue)?  You either need to configure a custom process to go through
any messages routed there and do whatever you want with them (delete them,
log them for a developer to look at later, whatever) or you need to
configure the broker to not put them in the DLQ to begin with (via the
discarding DQL plugin).

Chris, the problem Gary's post solves is one of KahaDB data files not being
deleted rather than increasing storeUsage; I don't think that problem would
manifest as something visible from within the broker like what Mark has
described, only from the outside when examining the file system.

Tim

On Mon, Jul 27, 2015 at 3:06 PM, Christopher Shannon <
christopher.l.shannon@gmail.com> wrote:

> If you are using KahaDB you might be running into a limitation of mixing
> destinations with fast message rates vs slow message rates.  Gary wrote a
> good blog post about it here:
> http://blog.garytully.com/2011/11/activemq-multiple-kahadb-instances.html
>  Take a look at that and see if it helps you.
>
>
> On Mon, Jul 27, 2015 at 4:47 PM, Scammell <
> mark.harris@meridianenergy.co.nz>
> wrote:
>
> > Hello,
> >
> > I'm using ActiveMQ version 5.10.1.
> >
> > Since we started using ActiveMQ a few weeks ago, the store percentage for
> > the broker has been steadily increasing - from 10% at the start of the
> > month
> > to 29% currently.
> >
> > In that period, we have processed (sent to queue and subsequently
> removed)
> > approximately 5 million records.
> >
> > We currently hold on to a ever-rotating amount of ~20,000 messages for a
> > maximum of 7 days, after which we then delete them.
> >
> > We don't seem to be seeing any slow-down in the increase of store percent
> > utilised even though the system has reached a point where the amount of
> > messages we are processing each day is not increasing. Could anyone
> advise
> > on a strategy for reducing this figure?
> >
> > Thanks in advance for any assistance.
> >
> >
> >
> > --
> > View this message in context:
> > http://activemq.2283324.n4.nabble.com/Store-percent-used-tp4699945.html
> > Sent from the ActiveMQ - User mailing list archive at Nabble.com.
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message