Reputation: 1
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.
In RabbitMQ config set watermark 0.4
Upvotes: 0
Views: 38
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