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

Marek Majkowski majek04 at gmail.com
Fri Feb 4 17:32:17 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
> {inet_error,enomem}
> If I add some time.sleep between the calls, the problem disappears (see
> class TestThread and function stress_test in code below), but that's
> kind of not the point, right?

I'm afraid I can't help on this one. Maybe you just run out of memory?


More information about the rabbitmq-discuss mailing list