I would look to minimize your channel usage. There is overhead per-channel on a connection basis. Having run into issues due to unintentionally having too many channels open recently, I'd offer that if you can use one channel on one connection instead of two or more channels on one connection, you should.<div>
<br></div><div>Regards,</div><div><br>Gavin<br><br><div class="gmail_quote">On Fri, Jan 27, 2012 at 11:00 AM, Dan Dart <span dir="ltr"><<a href="mailto:dan@canddi.com">dan@canddi.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
We're after being able to increase channel_max so that Rabbit can<br>
handle more and not give us errors about not having enough channel<br>
ids.<br>
According to Rabbit documentation on AMQP:<br>
<br>
current status in rabbit: planned<br>
Type: MUST<br>
Actor: server<br>
Reference: connection / tune-ok / channel-max / upper-limit<br>
Text: If the client specifies a channel max that is higher than the<br>
value provided by the server, the server MUST close the connection<br>
without attempting a negotiated close. The server may report the error<br>
in some fashion to assist implementors.<br>
<br>
It would seem the server has to specify this too. But it is not<br>
implemented in Rabbit right now.<br>
<br>
Am I right? Is there no other way of increasing the load handled and<br>
getting rid of the channel ids problem?<br>
<br>
We're using this PHP library which specifies channel_max in<br>
src/main/php/Rabbit/AMQP/Connection.php:69.<br>
The exception we're getting occurs on line 154 of the same file.<br>
<br>
<a href="https://github.com/Canddi/Zend_RabbitMQ" target="_blank">https://github.com/Canddi/Zend_RabbitMQ</a><br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
</blockquote></div><br></div>