<div dir="ltr"><div>It seems that Consumer will get blocked after all connections exhausted.<br></div><div>Some rabbitmqctl commands such as `rabbitmqctl list_queues` and `rabbitmqctl list_consumers` will get stucked as well.</div>
<div><br></div><div>Here is an example to demonstrate that: <a href="https://gist.github.com/timonwong/238f2379d1acbbd4ef0a">https://gist.github.com/timonwong/238f2379d1acbbd4ef0a</a></div><div>After all connections are exhausted, consumer will get blocked after several seconds, `rabbitmqadmin list queues` will indicate that there was unacknowledged messages in the queue:</div>
<div><br></div><div>+-------+-----------+-------------+----------------------+-----------+---------+------------------------+----------+----------+----------------+-------------------------+------------------+--------+---------+</div>
<div>| vhost | name | auto_delete | consumer_utilisation | consumers | durable | exclusive_consumer_tag | memory | messages | messages_ready | messages_unacknowledged | node | policy | state |</div><div>
+-------+-----------+-------------+----------------------+-----------+---------+------------------------+----------+----------+----------------+-------------------------+------------------+--------+---------+</div><div>| / | test.msgs | False | 0.105861902008 | 1 | True | | 74966600 | 46906 | 45664 | 1242 | rabbit@localhost | | running |</div>
<div>+-------+-----------+-------------+----------------------+-----------+---------+------------------------+----------+----------+----------------+-------------------------+------------------+--------+---------+</div><div>
<br></div><div><br></div><div>I've tried Python kombu library with both pyamqp and librabbitmq as transport driver.</div><div><br></div><div>Am I doing something wrong? Or is it a expected behavior?</div><div><br></div>
<div>My environment</div><div><br></div><div>Server side:</div><div>CentOS 6.3 64bit</div><div>RabbitMQ: 3.3.1</div><div><br></div><div>Client side:</div><div>CentOS 6.3 64bit</div><div>Python 2.7.6</div><div>Kombu 3.0.16</div>
<div><br></div><div>Thanks in advance.</div><div><br></div><div>Regards,</div><div>Timon</div><div><br></div></div>