I removed all the messages from all the queues but the kahan db files are not
getting recycled. Hawtio is showing that the total message count is -59.

<http://activemq.2283324.n4.nabble.com/file/n4702208/message-count.png> 

I am using the following mKahaDB configs.

          <persistenceAdapter>
           <mKahaDB directory="/mnt/nfs/kahadb/shared-store">
            <locker>
             <shared-file-locker lockAcquireSleepInterval="5000"/>
            </locker>
             <filteredPersistenceAdapters>
              <filteredKahaDB queue="ActiveMQ.DLQ.>">
               <persistenceAdapter>
                <kahaDB directory="/mnt/nfs/kahadb/kahadb-dlq"/>
               </persistenceAdapter>
              </filteredKahaDB>
             <filteredKahaDB>
              <persistenceAdapter>
               <kahaDB directory="/mnt/nfs/kahadb/kahadb-main" />
              </persistenceAdapter>
             </filteredKahaDB>
            </filteredPersistenceAdapters>
           </mKahaDB>
          </persistenceAdapter>

The problem occurs only with the main-kahadb, files from kahadb-dlq are
properly getting recycled.




--
View this message in context: 
http://activemq.2283324.n4.nabble.com/KahaDb-journal-file-are-not-getting-recycled-and-Total-Message-Count-is-negative-tp4702208.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to