Are there any topics with unconsumed messages for offline durable
subscribers?  Queues aren't the only place messages can stick around.

You might get more information by using information exposed via JMX; it
might help you find where there are still messages if indeed there are
some.
On Sep 22, 2015 8:14 PM, "fmansoor" <faisal.mans...@gmail.com> wrote:

> 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