activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chen Bangzhong <bangzh...@gmail.com>
Subject Re: activemq consumes 2GB disk per day
Date Mon, 17 Jan 2011 09:11:59 GMT
But I am using the amq, not kahadb

        <persistenceAdapter>
            <amqPersistenceAdapter syncOnWrite="false"
directory="${activemq.base}/data" maxFileLength="20 mb"/>
        </persistenceAdapter>

when activemq starts up, it prints the following information. the size of
/data/journal is about 237GB, while data/kr-store is only 5.5Mb


        INFO   | jvm 1    | 2010/05/14 03:22:14 | INFO
DefaultCamelContext            - JMX enabled. Using
InstrumentationLifecycleStrategy
.
INFO   | jvm 1    | 2010/05/14 03:22:14 | INFO
BrokerService                  - Using Persistence Adapter:
AMQPersistenceAdapter(/w
eb/activemq/data)
INFO   | jvm 1    | 2010/05/14 03:22:14 | INFO
AMQPersistenceAdapter          - AMQStore starting using directory:
/web/activemq/da
ta
INFO   | jvm 1    | 2010/05/14 03:22:14 | INFO
KahaStore                      - Kaha Store using data directory
/web/activemq/data/
kr-store/state
INFO   | jvm 1    | 2010/05/14 03:22:14 | INFO
AMQPersistenceAdapter          - Active data files: []
INFO   | jvm 1    | 2010/05/14 03:22:14 | INFO
BrokerService                  - ActiveMQ 5.2.0 JMS Message Broker
(localhost) is st
arting
INFO   | jvm 1    | 2010/05/14 03:22:14 | INFO
BrokerService                  - For help or more information please see:
http://act
ivemq.apache.org/
INFO   | jvm 1    | 2010/05/14 03:22:14 | INFO
KahaStore                      - Kaha Store using data directory
/web/activemq/data/
kr-store/data


2011/1/17 Dejan Bosanac <dejan@nighttale.net>

> Hi,
>
> this sounds like a known bug in some earlier versions
> (https://issues.apache.org/jira/browse/AMQ-2736), can you try
> upgrading to 5.4.2 and see if it helps.
>
> Regards
> --
> Dejan Bosanac
> -----------------
> FuseSource - The experts in open source integration and messaging.
> Email: dejanb@fusesource.com
> Web: http://fusesource.com
> Twitter:  http://twitter.com/dejanb
> ActiveMQ in Action - http://www.manning.com/snyder/
> Blog - http://www.nighttale.net
>
>
>
> On Mon, Jan 17, 2011 at 9:39 AM, Chen Bangzhong <bangzhong@gmail.com>
> wrote:
> > Hi, All
> >
> > My activemq consumed 2GB disk per day. The disk is being exhausted.
> >
> > I found the size of journal folder is about 237GB.
> >
> > How can I free my disk space?
> >
> > I tried purge in my lab machine, it seems not help.
> >
> > then I set the deleteAllMessageOnStartup to true and restart, it works.
> >
> > what's the safest method to free my disk space?
> >
> > thanks
> >
>

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