Repeating basic consumer creates many segment files on empty quorum queue

397 views
Skip to first unread message

Glenn Goffin

unread,
Jun 10, 2022, 10:38:27 AM6/10/22
to rabbitmq-users
Hello Everyone

 I'm hoping for somebody can point me in the right direction as I'm experiencing a strange issue in RabbitMQ single node clusters which all have the same behaviour.

TL;DR;
Repeating basic consumer creates many segment files on empty quorum queue.

4PiOs3mt0p.png


Environment
RabbitMQ 3.9.7
Erlang 24.1
docker.io/bitnami/rabbitmq:3.9.7-debian-10-r0

Producer

spring-rabbit-2.3.10.jar

Consumer

rabbitmq-c-0.11.0 (embedded C)

Queue

D02544FFFE1EF43A > see config

Issue Scenario
  1. The producer sends two messages to the RabbitMQ queue D02544FFFE1EF43A
  2. The consumer receives the two messages
  3. The consumer reconnects every 10 seconds (The producer doesn't send any message)
  4. After 1 day the queue storage increases with +- 9Mb (See Screenshot)
  5. Queue messages are 0
Resolutions
  1. Manually purging the queue deletes the segment files
  2. When the producer sends a message all the segment files are deleted
Question
  • Is there any way to automatically delete these segment files? Or change the policy?

References
4PiOs3mt0p.png

BlUIyJKR4s.png


config

Glenn Goffin

unread,
Jun 13, 2022, 4:29:59 AM6/13/22
to rabbitmq-users
In early tests, we could not reproduce the issue in bitnami/rabbitmq:3.10.5-debian-11-r2

It seems it's resolved in 3.10.0 (see changelog / feature matrix)


S0kCS3A5jp.png
Reply all
Reply to author
Forward
0 new messages