Questions tagged [kahadb]

23 questions
8
votes
3 answers

ActiveMQ - Kahadb log files will not clear

I've been tasked with investigating why the db-*.log files are not clearing. From what I have found through vast searching, everything points to the messages being on the queue still. I've looked at hawtio at the queues on all the configured topics…
Pete O'Connell
  • 143
  • 1
  • 2
  • 8
6
votes
2 answers

How to avoid blocking of queue browsing after ActiveMQ checkpoint call

There's a problem when Using ActiveMQ with a large number of Persistence Queues (250) á 1000 persistent TextMessages á 10 KB. A scenario requires these messages to remain in the storage over a long time (days), until they are consumed (large amounts…
jforge
  • 176
  • 1
  • 8
3
votes
2 answers

Delete kahaDB logs

There are many kahaDB logs which are not clearing up. Is it safe to clear old "data-< id >-log" files ? Shall I restart activeMQ or redeploy app after manually deleting kahaDB files ?
Vivek Sadh
  • 4,230
  • 3
  • 32
  • 49
3
votes
1 answer

Migrate data from Kahadb to MKahadb

I am changing from KahaDB to MKahaDB. So, distributing some of my queues to separated destinations. But i would like to migrate old queues' data to the newly created destinations. Is there anyone knows, how can i do that?
2
votes
0 answers

ActiveMQ : KahaDB and LevelDB slow disk space expansion

Has anyone observed a creeping disk space growth of their ActiveMQ KahaDB or LevelDB stores ? We are using the following : Windows Server 2008 SP1 (for deployment) and Windows 7 SP1 (for development) Java 1.7 ActiveMQ 5.11.1 and 5.13.2 (tried both…
JBLKT
  • 73
  • 1
  • 4
2
votes
2 answers

ActiveMQ - Failed to load: class path resource [activemq.xml]

After of implement the persistence with "MySQL" (http://activemq.apache.org/jdbc-support.html) I'm find the next problem: File config: --> activemq.xml
Ivan
  • 31
  • 1
  • 1
  • 6
2
votes
1 answer

How to recover ActiveMQ from full KahaDb persistence store?

Using AMQ 5.9 I had a network issue that caused messages in my queue to back up. I started getting log messages "Usage (default:store:queue://myqueue:store) percentUsage=101% usage=6254005794, limit=6144430090, ...Stopping producer...to prevent…
eze
  • 2,332
  • 3
  • 19
  • 30
1
vote
1 answer

What is the maximum number of xxx of db-xxx in kahaDB (ActiveMQ)?

I'm looking for the maximum number of xxx of db-xxx.log in kahaDB (ActiveMQ). I set the db file configuration in activemq.xml for a production site as below.
user19296341
1
vote
0 answers

ActiveMQ KahaDB archive data logs does not work

I have been trying to configure KahaDB to archive the data logs with the configuration below:
ssasi
  • 1,758
  • 1
  • 12
  • 18
1
vote
1 answer

KahaDB error "No space left on Disk". How to solve this?

I am using activemq. KahaDB is activemq's default message store. But it keeps on increasing in size and eventually runs out of disk space. Even if all the messages are acknowledged, it still grows in size and creates new log files in its data store…
hars
  • 127
  • 4
  • 17
1
vote
0 answers

ActiveMQ consumer slows down after few days

We are an ActiveMQ setup with all default settings. Its broker url is like failover:(tcp://host1,tcp://host2,tcp://host3)?randomize=false We have 2 message Queues where producer publishes persistent messages. Messages generally have a steady flow…
Lokesh
  • 7,810
  • 6
  • 48
  • 78
1
vote
2 answers

kaha db message store for persistent messages

I know db-xx.log is the journal file and db.redo is the reference file? db-xx.log stores messages which are not consumed, yet. Those messages will be deleted from db-xx.log after being consumed. db.redo stores references of messages (which are…
Lwin Htoo Ko
  • 2,326
  • 4
  • 26
  • 38
0
votes
0 answers

ActiveMQ kahadb space full

I've created a simple test to fill up a queue with messages mark with timeToLive of 60 seconds. I've added the deadletter stategy processExpired="false" so that the messages are just discarded.. When the queue exceeds persistance store size 40mb, it…
Daniel Cosio
  • 177
  • 1
  • 2
  • 16
0
votes
1 answer

How to persist retained message between activemq broker restart?

I have a status topic, published using QoS 1 & retained message = true over ActiveMQ (docker rmohr/activemq:5.15.9). I want my dashboard to be able to late subscribe to the topics and always receive the last published message. The retained…
ThatChrisGuy
  • 559
  • 2
  • 7
  • 23
0
votes
0 answers

ActiveMQ not delivering message from KahaDB Filestore

Our Spring 5 application is configured to use ActiveMQ and to persist the messages. We decided to go with KahaDB file storage. To test message persistence, I commented out the MessageListener bean and sent a message to a queue (via JmsTemplate) and…
1
2