RabbitMQ Delivery Acknowledgement Timeout

395 views
Skip to first unread message

Abdul Basith

unread,
Dec 28, 2021, 2:08:53 AM12/28/21
to rabbitmq-users
hi guys
Currently, in services got issues about consumer timeout like below:
1. Error RMQ AlreadyClosedException (see in attachments)
2. Message doesn't ack, so it piled up (see in attachments)

I've already search the workaround for this. then found a solution. the solution refer from RabbitMQ documentation (https://www.rabbitmq.com/consumers.html#acknowledgement-timeout). there are 2 options:
1. extend consumer_timeout in RMQ configuration
this option is recommended from RMQ, but this is an impact on all queues. and we don't know how long a process running in each service.

2. disable consumer_timeout, this option is not recommended

for 2 option above, I agree with first option, but my question is, can the configuration consumer_timeout be set per queue with different values? as I explain above of option.
rmqerror.png
queuepilledup.png

Wes Peng

unread,
Dec 28, 2021, 2:27:48 AM12/28/21
to rabbitm...@googlegroups.com
Two questions:

Do you have a stable network connection? Is RMQ node running in high load?
What are rabbitmq and erlang versions?

Before increasing the timeout values, it's better to know what causes the timeout.



Thanks.

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/0aa6dd4e-5aab-4e27-993f-6ef813519c7cn%40googlegroups.com.

Abdul Basith

unread,
Dec 28, 2021, 11:51:12 PM12/28/21
to rabbitmq-users
Do you have a stable network connection? if between service and RMQ, yes, It is stable because they are in the same internal network

Is RMQ node running in high load? yes, because it used for many services, but it already increase the resource in RMQ node

What are rabbitmq and erlang versions? for rabbitmq v.3.9.8 and erlang v.24.1.4

Wes Peng

unread,
Dec 29, 2021, 1:32:25 AM12/29/21
to rabbitm...@googlegroups.com
Hello

I double it's due to the high load on the system your RMQ has some delays.
You can reproduce this kind of error on a non-production server by running RabbitMQ perftest.

Thanks


Abdul Basith

unread,
Dec 29, 2021, 2:03:26 AM12/29/21
to rabbitmq-users
Okay, thanks for your answer. I'll try this one

Abdul Basith

unread,
Dec 29, 2021, 2:42:41 AM12/29/21
to rabbitmq-users
I've already checked in resource monitoring and resource history. So, there's no high load in RMQ node.

On Wednesday, 29 December 2021 at 13:32:25 UTC+7 pen...@gmail.com wrote:

Wes Peng

unread,
Dec 29, 2021, 4:12:52 PM12/29/21
to rabbitm...@googlegroups.com
Is there still the error exists?

Regards 

Abdul Basith

unread,
Dec 29, 2021, 10:09:46 PM12/29/21
to rabbitmq-users
yes still
Reply all
Reply to author
Forward
0 new messages