Alex
Alex

Reputation: 1

RabbitMQ overflow buffer/cache memory

im first time here :) The server hosting RabbitMQ is constantly consuming cache and buffer and continues to grow. The message flow has not increased. After reaching the limit, the service goes down.

RabbitMQ screenshot

In RabbitMQ config set watermark 0.4

Upvotes: 0

Views: 38

Answers (1)

telebovich
telebovich

Reputation: 11

It looks like there is a forgotten acknowledgement ACK after a message is received in the consumer.

Setting {noAck: true} should solve the problem.

Here is the source of the answer https://www.rabbitmq.com/tutorials/tutorial-two-javascript#forgotten-acknowledgment

Upvotes: 0

Related Questions