Thank you for your reply. I appreciate your assistance! This is my lab and no DLQ is configured.
I consumed all messages from the queues where I tested different message sizes and numbers, waited around 5 minutes. Then checked the /data/localhost/scheduler directory and the scheduledb.data file remains the same size as before consuming the messages. I deleted ALL queues and then restarted the broker, Then checked the /data/localhost/scheduler directory and the scheduledb.data file remains the same size as before deleting all queues and broker restart. What am I missing here? Why is the schedulerdb.data file not shrinking when there are no message or queues to schedule. Kind regards, Alex -----Original Message----- From: Jean-Baptiste Onofré <j...@nanthrax.net> Sent: Thursday, January 4, 2024 10:26 AM To: users@activemq.apache.org Subject: Re: Understanding scheduledb.data behavior Hi, Don't you have a message in DLQ or in the scheduler (redelivered) ? Regards JB On Wed, Jan 3, 2024 at 5:02 PM Aleksander Pähn <ap...@perforce.com.invalid> wrote: > > Hello, > > Im trying to understand the behavior, because the scheduledb.data file > continues to grow no matter how many messages are consumed. > What am I missing? > > Consider this, > ActiveMQ Classic 5.16.3, OpenJDK 1.8.0_392 , Ubuntu 22.04 > 2 Queues 1 and 2 > Each queue 100000 messages. > Queue1 All messages consumed, number of dblog files reduced. > Queue2 Deleted, number of dblog files shrunk. > > Observations, > 1. One dblog file remains in /data/localhost/scheduler. > 2. /data/localhost/scheduler/scheduledb.data file is the same size as before > consuming and deleting. - Why is scheduledb.data not shrinking as the > messages are consumed or queue deleted? > 3. The /data/localhost/tmp_storage directory shows more dblog files than > /data/localhost/scheduler - why? > > Thank you in advance! > Alex > > > This e-mail may contain information that is privileged or confidential. If > you are not the intended recipient, please delete the e-mail and any > attachments and notify us immediately. > CAUTION: This email originated from outside of the organization. Do not click on links or open attachments unless you recognize the sender and know the content is safe. This e-mail may contain information that is privileged or confidential. If you are not the intended recipient, please delete the e-mail and any attachments and notify us immediately.