Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-3906

repeated error message regarding chunk stream logged

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 5.6.0
    • None
    • Broker
    • None
    • ActiveMQ 5.6.0 running on Linux FC10 x86

    Description

      after running normally for ~24 hours, warning messages/errors like below are logged every 30 seconds:

      2012-06-27 14:33:31,532 org.apache.activemq.broker.region.Topic[ActiveMQ Broker[ZyrionMessageBus] Scheduler]: (WARN) Failed to browse Topic: remoteUpdateP2PTopic
      java.io.EOFException: Chunk stream does not exist, page: 50 is marked free
              at org.apache.kahadb.page.Transaction$2.readPage(Transaction.java:460)
              at org.apache.kahadb.page.Transaction$2.<init>(Transaction.java:437)
              at org.apache.kahadb.page.Transaction.openInputStream(Transaction.java:434)
              at org.apache.kahadb.page.Transaction.load(Transaction.java:410)
              at org.apache.kahadb.page.Transaction.load(Transaction.java:367)
              at org.apache.kahadb.index.BTreeIndex.loadNode(BTreeIndex.java:262)
              at org.apache.kahadb.index.BTreeIndex.getRoot(BTreeIndex.java:174)
              at org.apache.kahadb.index.BTreeIndex.iterator(BTreeIndex.java:232)
              at org.apache.activemq.store.kahadb.MessageDatabase$MessageOrderIndex$MessageOrderIterator.<init>(MessageDatabase.java:2714)
              at org.apache.activemq.store.kahadb.MessageDatabase$MessageOrderIndex.iterator(MessageDatabase.java:2696)
              at org.apache.activemq.store.kahadb.KahaDBStore$KahaDBMessageStore$3.execute(KahaDBStore.java:525)
              at org.apache.kahadb.page.Transaction.execute(Transaction.java:769)
              at org.apache.activemq.store.kahadb.KahaDBStore$KahaDBMessageStore.recover(KahaDBStore.java:521)
              at org.apache.activemq.store.ProxyTopicMessageStore.recover(ProxyTopicMessageStore.java:62)
              at org.apache.activemq.broker.region.Topic.doBrowse(Topic.java:559)
              at org.apache.activemq.broker.region.Topic.access$100(Topic.java:62)
              at org.apache.activemq.broker.region.Topic$6.run(Topic.java:684)
              at org.apache.activemq.thread.SchedulerTimerTask.run(SchedulerTimerTask.java:33)
              at java.util.TimerThread.mainLoop(Timer.java:512)
              at java.util.TimerThread.run(Timer.java:462)
      

      since then the warning has been logged 6000+ times. not sure if this is due to the fact that we have enabled expiration of queued messages for offline subscribers.

      % ls -l apps/activemq/data/kahadb/
      total 32068
      -rw-r--r-- 1 root root 33030144 2012-06-29 14:44 db-14.log
      -rw-r--r-- 1 root root   339968 2012-06-29 14:44 db.data
      -rw-r--r-- 1 root root   196984 2012-06-29 14:44 db.redo
      -rw-r--r-- 1 root root        0 2012-06-26 16:40 lock
      

      Attachments

        1. kahadb.zip
          39 kB
          Rajib Rashid
        2. activemq.xml
          3 kB
          Rajib Rashid

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rajib_rashid Rajib Rashid
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: