activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Dulin <oleg.du...@gmail.com>
Subject PerDestination KahaDB and slow recovery
Date Mon, 20 May 2013 20:48:12 GMT
Dear Colleagues:

We have about 1500 queues on the broker. Some queues are consumed in a 
"batch" fashion. So the journal gets fragmented and becomes quite 
large. To optimize disk usage, I've done the following:

             <persistenceAdapter>
                 <mKahaDB directory="activemq-data/kahadb">
                        <filteredPersistenceAdapters>
                                  <filteredKahaDB perDestination="true" >
                                        <persistenceAdapter>
                                                <kahaDB 
journalMaxFileLength="16mb" cleanupInterval="10000"/>
                                        </persistenceAdapter>
                                  </filteredKahaDB>
                        </filteredPersistenceAdapters>
                 </mKahaDB>
                </persistenceAdapter>


However, now the broker restart becomes really slow because it seems to 
do recovery sequentially on each journal.

Is there a way to speed this up ?

Help is greatly appreciated.


-- 
Regards,
Oleg Dulin
http://www.olegdulin.com



Mime
View raw message