[rabbitmq-discuss] Specifying channel_max
simon at rabbitmq.com
Mon Jan 30 12:12:37 GMT 2012
On 27/01/12 17:12, Dan Dart wrote:
>> But this is a very rare limit to run into.
> Do you know why we might be hitting it?
I was talking about the limit on the number of channels per connection
(channel_max) - you'd only run into that if you tried to open 65536
channels in one connection, which I doubt you are doing.
>> Are you running into a limit on the number of *connections* you can open?
> Maybe so - we are just hitting it a lot - we have one IP sending stuff
> constantly - but we don't have anything like "keepalive" so it's
> trying to make a new connection each time.
OK, you will have to be clearer about what exact problem you are seeing.
Would you expect there to be lots of connections open simultaneously? Or
is your client app leaving connections open when it shouldn't? Do you
see all these connections in mgmt / rabbitmqctl?
> Is this what's killing it? Can we just raise ulimit and you think it'll fix it?
If you need to have large numbers of connections open at the same time,
yes. If you are leaking connections, this would only delay the problem.
More information about the rabbitmq-discuss