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: ActiveMQ data directory
Date Tue, 05 Apr 2016 11:10:55 GMT
They actually can be kept even after all messages have been delivered
successfully to consumers, if they contain acks for messages in an earlier
file that hasn't yet been deleted.
On Apr 5, 2016 12:26 AM, "Rob Davies" <rajdavies@gmail.com> wrote:

>
> > On 5 Apr 2016, at 05:23, Natarajan, Rajeswari <
> rajeswari.natarajan@sap.com> wrote:
> >
> >
> > Hi,
> >
> > I have below questions/assumptions . Please let me know if they are
> correct
> >
> > the data directory size (along with Kaha DB)in activemq   increase
> linearly with number of (same size) messages.
>
> Well - in chunks - maxFileLength is the maximum size of a message log.
> When the first is full, another will be allocated - so if you aren’t
> consuming the messages, or have a slow consumer - the number of message
> logs can build up quickly. They also get periodically garbage collected
> when all messages referenced in a particular log have been delivered
> successfully to consumers.
>
> >
> > maxFileLength -- specifies the maximum  file size of db-1.log file.
> >
> >
> > Regards,
> > Rajeswari
>
>

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