Open qiulang opened 3 years ago
I have seen this too. The same hang inside the poll() call.
I created an abomination using a timer signal in vain attempt to work around it
There is also a (I think separate issue) that this is known to block following an attempt to bind to an exchange that doesn't exist. See https://groups.google.com/forum/#!topic/rabbitmq-c-users/JET2DGQan3g
We use 0.9.0, connecting to 3.7.5 server. We have found that
amqp_channel_close
hangs forever sometimes.The reason we call
amqp_channel_close
is that we find sometimes a specific channel is dead, i.e. it does not receive message anymore. We have not figured out why it is dead but we design a recovery algorithm for that like these:amqp_channel_close
to close that channel. But unfortunately callingamqp_channel_close
will hang forever sometimes, which makes our recovery algorithm fail to work.So any suggestion why
amqp_channel_close
hangs or how to improve our recovery algorithm ?Below is some log for hang we experienced