[rabbitmq-discuss] Timeouts in erlang client

Matthew Sackman matthew at rabbitmq.com
Fri Jun 24 11:56:11 BST 2011


On Fri, Jun 24, 2011 at 01:56:16PM +0400, Groshev Dmitry wrote:
> Why all timeouts in erlang client are set to infinity?

Any other number is equally as arbitrary and wrong.

> When I'm using direct connection and remote server disconnects,
> rabbitmq-client's gen_server hangs waiting for answer from remote pid
> and stopping to receive messages, so its mailbox grows until node
> crash.

That should not be the case: the amqp_client's channels should be
monitoring or linked to the remote channel and thus when the remote goes
away, the local should also go away. Which version of the client are you
using and could you post example code please?

Matthew


More information about the rabbitmq-discuss mailing list