[rabbitmq-discuss] BrokerUnrechableException after sending 16366 messages
James Carr
james.r.carr at gmail.com
Fri Oct 21 16:14:01 BST 2011
One "newb" mistake I often see when devs are initially testing out our
dev cluster is they open a connection for each message they send
rather than opening one connection and re-using it. This will quickly
use up all the connections on the box and rabbitmq will begin refusing
additional requests to connect.
Once you have one connection and multiplex multiple channels, you
shouldn't see such problems. We've pushed upwards of 10,000 messges
per second so far on a single box and it hasn't missed a beat. :)
Thanks,
James
On Fri, Oct 21, 2011 at 6:29 AM, Simon MacMullen <simon at rabbitmq.com> wrote:
> On 21/10/11 11:15, pavuuu wrote:
>>
>> I am trying to send 1million messages into the message broker queue. I've
>> observed a weird error in sending these messages. After sending 16366
>> messages, I am getting a BrokerUnrechableException.
>>
>> Can someone tell me what is the reason for this exception.
>
> BrokerUnreachableException means that the broker is unreachable. It is only
> ever thrown while trying to initially connect to the broker. Look in the
> ConnectionErrors field to see why connection failed.
>
> Cheers, Simon
>
> --
> Simon MacMullen
> RabbitMQ, VMware
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
More information about the rabbitmq-discuss
mailing list