T
T
tranquillity2016-01-19 18:07:25
PHP
tranquillity, 2016-01-19 18:07:25

Why does idle time start in RabbitMQ consumer?

Good afternoon everyone.
Such situation.
There is a worker (consumer) for processing messages with rabbitmq, after about a minute and a half, 90 seconds, it just starts to idle (idle) in the admin panel, this is all perfectly visible, from the terminal too.
I turned on the debug mode - I did not see anything noticeable.
It's funny that there are two more such workers, one that pushes messages in this queue, the third one that receives more messages from this sick worker. They are configured in the same way, both work, this one goes into idle after ~ 90 seconds and that's it.
Type of exchanger fanout, messages in the queue hangs about 2-3k.
The library used is written in php https://github.com/videlalvaro/php-amqplib.
The processing time for one message is about 1-3 seconds.
Found one similar problem www.btday.com/rabbitmq-consumer-connection-dies-af... didn't help.
Help, tell me, pliz, what can be? Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2016-01-20
@rostel

replace php-amqplib with https://github.com/pdezwart/php-amqp

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question