[rabbitmq-discuss] too many connections

Emile Joubert emile at rabbitmq.com
Thu Mar 28 10:03:34 GMT 2013

Hi Mike,

On 27/03/13 22:36, Mike Chai wrote:
> I'm using CloudRabbit on Heroku and under their $20 plan with max of 6
> connections, I'm constantly hitting the connection limit. I have 1 app,
> and all I'm doing is making the connection, putting something into a
> queue, and then closing the connection.

If you are fully and synchronously closing one connection before opening
another then you shouldn't be hitting the limit. What is the rate of
connection creation when you hit the limit? Do you still see the problem
if you lower the rate?

Does the Heroku dashboard list the 6 connections? Can you correlate that
with connections from your app? Is your app multithreaded or somehow
creating connections with overlapping lifetimes? Have you tried
maintaining a single connection and using multiple channels instead?

If none of that helps then maybe support at cloudamqp.com knows the answer.


More information about the rabbitmq-discuss mailing list