java.io.IOException: BTree corrupted: Cylce detected.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

java.io.IOException: BTree corrupted: Cylce detected.

paulgale
Hi,

I'm using ActiveMQ 5.8.0 on RHEL 6.1.

Any troubleshooting tips folks can share as to what might be causing
this exception to show up in my broker's log? Note the miss-speeling
of 'cylce' in the exception.
I was unable to get the broker to launch after this point despite
numerous restarts. In the end I had to delete the entire message
store.

(This exception occurs on a different broker to the exception I
reported moments ago regarding expireMessagesPeriod.)

Thanks,
Paul
_____________________________________________________

INFO   | jvm 1    | 2013/09/30 15:08:55.243 | ERROR | MessageDatabase
              | KahaDB failed to store to Journal | ActiveMQ
VMTransport: vm://queue01.ba#1-2
INFO   | jvm 1    | 2013/09/30 15:08:55.243 | java.io.IOException:
BTree corrupted: Cylce detected.
INFO   | jvm 1    | 2013/09/30 15:08:55.243 |   at
org.apache.activemq.store.kahadb.disk.index.BTreeNode.getLeafNode(BTreeNode.java:680)
INFO   | jvm 1    | 2013/09/30 15:08:55.244 |   at
org.apache.activemq.store.kahadb.disk.index.BTreeNode.put(BTreeNode.java:369)
INFO   | jvm 1    | 2013/09/30 15:08:55.244 |   at
org.apache.activemq.store.kahadb.disk.index.BTreeIndex.put(BTreeIndex.java:189)
INFO   | jvm 1    | 2013/09/30 15:08:55.244 |   at
org.apache.activemq.store.kahadb.MessageDatabase$MessageOrderIndex.put(MessageDatabase.java:2730)
INFO   | jvm 1    | 2013/09/30 15:08:55.244 |   at
org.apache.activemq.store.kahadb.MessageDatabase.upadateIndex(MessageDatabase.java:1242)
INFO   | jvm 1    | 2013/09/30 15:08:55.244 |   at
org.apache.activemq.store.kahadb.MessageDatabase$14.execute(MessageDatabase.java:1066)
INFO   | jvm 1    | 2013/09/30 15:08:55.244 |   at
org.apache.activemq.store.kahadb.disk.page.Transaction.execute(Transaction.java:779)
INFO   | jvm 1    | 2013/09/30 15:08:55.244 |   at
org.apache.activemq.store.kahadb.MessageDatabase.process(MessageDatabase.java:1063)
INFO   | jvm 1    | 2013/09/30 15:08:55.244 |   at
org.apache.activemq.store.kahadb.MessageDatabase$13.visit(MessageDatabase.java:1010)
INFO   | jvm 1    | 2013/09/30 15:08:55.244 |   at
org.apache.activemq.store.kahadb.data.KahaAddMessageCommand.visit(KahaAddMessageCommand.java:241)
INFO   | jvm 1    | 2013/09/30 15:08:55.244 |   at
org.apache.activemq.store.kahadb.MessageDatabase.process(MessageDatabase.java:1007)
INFO   | jvm 1    | 2013/09/30 15:08:55.244 |   at
org.apache.activemq.store.kahadb.MessageDatabase.store(MessageDatabase.java:918)
INFO   | jvm 1    | 2013/09/30 15:08:55.244 |   at
org.apache.activemq.store.kahadb.MessageDatabase.store(MessageDatabase.java:900)
INFO   | jvm 1    | 2013/09/30 15:08:55.244 |   at
org.apache.activemq.store.kahadb.KahaDBStore$KahaDBMessageStore.addMessage(KahaDBStore.java:432)
INFO   | jvm 1    | 2013/09/30 15:08:55.244 |   at
org.apache.activemq.store.AbstractMessageStore.asyncAddTopicMessage(AbstractMessageStore.java:111)
INFO   | jvm 1    | 2013/09/30 15:08:55.244 |   at
org.apache.activemq.store.kahadb.KahaDBStore$KahaDBTopicMessageStore.asyncAddTopicMessage(KahaDBStore.java:675)
INFO   | jvm 1    | 2013/09/30 15:08:55.244 |   at
org.apache.activemq.store.kahadb.KahaDBTransactionStore.asyncAddTopicMessage(KahaDBTransactionStore.java:439)
INFO   | jvm 1    | 2013/09/30 15:08:55.245 |   at
org.apache.activemq.store.kahadb.KahaDBTransactionStore$2.asyncAddTopicMessage(KahaDBTransactionStore.java:206)
INFO   | jvm 1    | 2013/09/30 15:08:55.245 |   at
org.apache.activemq.broker.region.Topic.doMessageSend(Topic.java:471)
INFO   | jvm 1    | 2013/09/30 15:08:55.245 |   at
org.apache.activemq.broker.region.Topic.send(Topic.java:435)
INFO   | jvm 1    | 2013/09/30 15:08:55.245 |   at
org.apache.activemq.broker.region.AbstractRegion.send(AbstractRegion.java:406)
INFO   | jvm 1    | 2013/09/30 15:08:55.245 |   at
org.apache.activemq.broker.region.RegionBroker.send(RegionBroker.java:392)
INFO   | jvm 1    | 2013/09/30 15:08:55.245 |   at
org.apache.activemq.broker.jmx.ManagedRegionBroker.send(ManagedRegionBroker.java:282)
INFO   | jvm 1    | 2013/09/30 15:08:55.245 |   at
org.apache.activemq.broker.BrokerFilter.send(BrokerFilter.java:129)
INFO   | jvm 1    | 2013/09/30 15:08:55.245 |   at
org.apache.activemq.broker.CompositeDestinationBroker.send(CompositeDestinationBroker.java:96)
INFO   | jvm 1    | 2013/09/30 15:08:55.245 |   at
org.apache.activemq.broker.TransactionBroker.send(TransactionBroker.java:317)
INFO   | jvm 1    | 2013/09/30 15:08:55.245 |   at
org.apache.activemq.broker.BrokerFilter.send(BrokerFilter.java:129)
INFO   | jvm 1    | 2013/09/30 15:08:55.245 |   at
org.apache.activemq.plugin.StatisticsBroker.send(StatisticsBroker.java:192)
INFO   | jvm 1    | 2013/09/30 15:08:55.245 |   at
org.apache.activemq.broker.BrokerFilter.send(BrokerFilter.java:129)
INFO   | jvm 1    | 2013/09/30 15:08:55.245 |   at
org.apache.activemq.broker.MutableBrokerFilter.send(MutableBrokerFilter.java:135)
INFO   | jvm 1    | 2013/09/30 15:08:55.245 |   at
org.apache.activemq.broker.TransportConnection.processMessage(TransportConnection.java:499)
INFO   | jvm 1    | 2013/09/30 15:08:55.245 |   at
org.apache.activemq.command.ActiveMQMessage.visit(ActiveMQMessage.java:749)
INFO   | jvm 1    | 2013/09/30 15:08:55.245 |   at
org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:329)
INFO   | jvm 1    | 2013/09/30 15:08:55.245 |   at
org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:184)
INFO   | jvm 1    | 2013/09/30 15:08:55.245 |   at
org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:116)
INFO   | jvm 1    | 2013/09/30 15:08:55.245 |   at
org.apache.activemq.transport.MutexTransport.onCommand(MutexTransport.java:50)
INFO   | jvm 1    | 2013/09/30 15:08:55.245 |   at
org.apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java:241)
INFO   | jvm 1    | 2013/09/30 15:08:55.245 |   at
org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:129)
INFO   | jvm 1    | 2013/09/30 15:08:55.246 |   at
org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:47)
INFO   | jvm 1    | 2013/09/30 15:08:55.246 |   at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
INFO   | jvm 1    | 2013/09/30 15:08:55.246 |   at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
INFO   | jvm 1    | 2013/09/30 15:08:55.246 |   at
java.lang.Thread.run(Thread.java:722)
INFO   | jvm 1    | 2013/09/30 15:08:55.246 | INFO  |
DefaultIOExceptionHandler      | Initiating stop/restart of broker
transport due to IO exception, java.io.IOException: BTree corrupted:
Cylce detected. | ActiveMQ VMTransport: vm://queue01.ba#1-2