2 Replies Latest reply on Oct 20, 2009 10:49 AM by Dave Stanley

    AMQPersistenceAdapter recovery time during startup

    philippe tseyen Newbie

      After one month of uptime we killed our activemq, because of MB-545.

       

      I noticed that it took 6 minutes to startup again, because the AMQPersistenceAdapter needed to recover.

       

      Is there a way to minimize this recovery time? e.g. sync more often while running?

       

      Philippe

       

      2009-10-16 13:40:48,948 main           INFO  BrokerService                  - Using Persistence Adapter: AMQPersistenceAdapter(/var/opt/activemq/data)

      2009-10-16 13:40:48,958 main           INFO  AMQPersistenceAdapter          - AMQStore starting using directory: /var/opt/activemq/data

      2009-10-16 13:40:49,025 main           INFO  KahaStore                      - Kaha Store using data directory /var/opt/activemq/data/kr-store/state

      2009-10-16 13:40:49,139 INFO  AMQPersistenceAdapter          - Active data files: |http://fusesource.com/forums/

      2009-10-16 13:40:49,144 main           WARN  AMQPersistenceAdapter          - The ReferenceStore is not valid - recovering ...

      2009-10-16 13:40:49,171 main           INFO  KahaStore                      - Kaha Store successfully deleted data directory /var/opt/activemq/data/kr-store/data

      2009-10-16 13:40:49,171 main           INFO  AMQPersistenceAdapter          - Journal Recovery Started from: DataManager:(data-)

      2009-10-16 13:40:49,204 main           INFO  KahaStore                      - Kaha Store using data directory /var/opt/activemq/data/kr-store/data

      2009-10-16 13:46:33,506 main           INFO  AMQPersistenceAdapter          - Recovered 1364411 operations from redo log in 344.334 seconds.

      2009-10-16 13:46:33,506 main           INFO  AMQPersistenceAdapter          - Finished recovering the ReferenceStore

      2009-10-16 13:46:33,524 main           INFO  BrokerService                  - ActiveMQ 5.3.0.4-fuse JMS Message Broker (dev) is starting

      2009-10-16 13:46:33,524 main           INFO  BrokerService                  - For help or more information please see: http://activemq.apache.org/