You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Gary Ginzburg (JIRA)" <ji...@apache.org> on 2017/03/16 22:07:41 UTC
[jira] [Commented] (AMQ-6321) Message count is showing
negative(-ve)
[ https://issues.apache.org/jira/browse/AMQ-6321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15928999#comment-15928999 ]
Gary Ginzburg commented on AMQ-6321:
------------------------------------
I see the same issue in 5.13.4 without LevelDB. In our case persistence is set to false.
> Message count is showing negative(-ve)
> ---------------------------------------
>
> Key: AMQ-6321
> URL: https://issues.apache.org/jira/browse/AMQ-6321
> Project: ActiveMQ
> Issue Type: Bug
> Components: activemq-leveldb-store
> Affects Versions: 5.13.1
> Reporter: Achintya Ghosh
> Attachments: activemq1.xml, activemq2.xml, activemq3.xml, screenshot-1.png
>
>
> We are using ActiveMQ 5.13.1 and ZooKeeper for LevelDB with 3 instances and using master slave protocol.
> If we post some messages, the current master shows the correct message count but if we bring down master then slave becomes master
> and it always shows the message count negative(-ve) and we see this WARN in slave's log file:
>
> 2016-04-25 18:54:37,692 | WARN | invalid: logRefDecrement: 3087251348 | org.apache.activemq.leveldb.LevelDBClient | Thread-2
> 2016-04-25 18:54:37,693 | WARN | invalid: logRefDecrement: 3087257394 | org.apache.activemq.leveldb.LevelDBClient | Thread-2
> 2016-04-25 18:54:37,701 | WARN | invalid: logRefDecrement: 3087260274 | org.apache.activemq.leveldb.LevelDBClient | Thread-2
> 2016-04-25 18:54:37,703 | WARN | invalid: logRefDecrement: 3087261640 | org.apache.activemq.leveldb.LevelDBClient | Thread-2
> 2016-04-25 18:54:37,727 | WARN | invalid: logRefDecrement: 3087266084 | org.apache.activemq.leveldb.LevelDBClient | Thread-2
> 2016-04-25 18:54:37,738 | WARN | invalid: logRefDecrement: 3087263166 | org.apache.activemq.leveldb.LevelDBClient | Thread-2
> 2016-04-25 18:54:37,742 | WARN | invalid: logRefDecrement: 2621170592 | org.apache.activemq.leveldb.LevelDBClient | Thread-2
> 2016-04-25 18:54:37,744 | WARN | invalid: logRefDecrement: 3087270205 | org.apache.activemq.leveldb.LevelDBClient | Thread-2
> Now if we send more meesages, nothing is getting processed and it's kind of stuck.
> I'm attaching the screenshot of ActiveMQ and the configuration files of activeMQ servers.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)