[rabbitmq-discuss] exceptions on fast opening a number of connections / exception on TCP connection

Marek Majkowski majek04 at gmail.com
Mon Feb 7 19:00:41 GMT 2011


On Sat, Jan 29, 2011 at 18:18, Marcin Krol <mrkafk at gmail.com> wrote:
> I wrote a "stress test" function that (relatively) quickly does the
> following: it creates a number of threads that open a new connection to
> Rabbit, do RPC call over Rabbit, close the connection, sleep some
> milliseconds and iterate again.
>
> I'm getting following exceptions in Rabbit log:
>
> =ERROR REPORT==== 29-Jan-2011::18:06:04 ===
> exception on TCP connection <0.22244.4> from 10.0.0.234:54501
> {inet_error,enomem}

For a record, this error is triggered by a broken framing. For example:
echo -e "AMQP\x00\x00\x09\x01AMQP\x00\x00\x09\x01"|nc localhost 5672

Cheers,
  Marek


More information about the rabbitmq-discuss mailing list