Brian,<div><br></div><div>It seems like you should be using Pika - which support channel.flow:</div><div><br></div><div><a href="http://github.com/tonyg/pika">http://github.com/tonyg/pika</a></div><div><br></div><div>As for the other issues, it seems like you&#39;ll certainly want to use high memory extra large instances (or larger) for the broker. �You can also use beefier clients (fewer of them). �I know these are just mitigating strategies but they seem to make sense for your situation.</div>
<div><br></div><div>-Adam</div><div><br><div class="gmail_quote">On Tue, Sep 28, 2010 at 11:42 AM, Brian_Fox <span dir="ltr">&lt;<a href="mailto:genkuro@gmail.com">genkuro@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
<br>
<br>
Matthew Sackman wrote:<br>
&gt;<br>
&gt; On Wed, May 19, 2010 at 11:06:23AM -0400, Tyler Williams wrote:<br>
&gt;&gt; =INFO REPORT==== 17-May-2010::14:24:30 ===<br>
&gt;&gt; � � application: rabbit<br>
&gt;&gt; � � exited: {{timeout_waiting_for_tables,[rabbit_disk_queue]},<br>
&gt;&gt; � � � � � � �{rabbit,start,[normal,[]]}}<br>
&gt;&gt; � � type: temporary<br>
&gt;&gt;<br>
&gt;&gt; =ERROR REPORT==== 17-May-2010::14:24:30 ===<br>
&gt;&gt; Error in process &lt;0.100.0&gt; on node &#39;rabbit@echonest03&#39; with exit<br>
&gt;&gt; value:<br>
&gt;&gt; {badarg,[{ets,insert,[rabbit_disk_queue,[{dq_msg_loc,{{resource,&lt;&lt;1<br>
&gt;&gt; byte&gt;&gt;,queue,&lt;&lt;9 bytes&gt;&gt;},553567},false,true,&lt;&lt;16<br>
&gt;&gt; bytes&gt;&gt;},{dq_msg_loc,{{resource,&lt;&lt;1 byte&gt;&gt;,queue,&lt;&lt;18<br>
&gt;&gt; bytes&gt;&gt;},563611},false,true,&lt;&lt;16 bytes&gt;&gt;},{dq_msg_loc,{{resource,&lt;&lt;1<br>
&gt;&gt; byte&gt;&gt;,queue,&lt;&lt;18 bytes&gt;&gt;},80964},false,true,&lt;&lt;16<br>
&gt;&gt; bytes&gt;&gt;},{dq_msg_loc,{{resource,&lt;&lt;1 byte&gt;&gt;,queue...<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; =INFO REPORT==== 17-May-2010::14:24:33 ===<br>
&gt;&gt; � � application: mnesia<br>
&gt;&gt; � � exited: stopped<br>
&gt;&gt; � � type: temporary<br>
&gt;&gt;<br>
&gt;&gt; =INFO REPORT==== 17-May-2010::14:24:33 ===<br>
&gt;&gt; � � application: os_mon<br>
&gt;&gt; � � exited: stopped<br>
&gt;&gt; � � type: temporary<br>
&gt;&gt;<br>
&gt;&gt; Can you shed any light on this error?<br>
&gt;<br>
&gt; I might have been able to last October when I was writing that code. So<br>
&gt; much has changed since then that I really can&#39;t remember too much about<br>
&gt; what was going on back then.<br>
&gt;<br>
&gt; Also, pyamqplib does not support channel.flow. Even with the new<br>
&gt; persister, there are times where rabbit gets overwhelmed (disks just<br>
&gt; aren&#39;t fast enough most of the time) and so needs to temporarily stop<br>
&gt; publishers. It does this by using channel.flow. Given that pyamqplib<br>
&gt; doesn&#39;t support channel.flow, you are very likely to run into problems.<br>
&gt; There&#39;s a highly experimental patch by Tony (search the mailing list for<br>
&gt; it) which adds support for channel.flow, but you might also try looking<br>
&gt; at the other python clients such as txamqp and pika.<br>
&gt;<br>
&gt; Matthew<br>
&gt;<br>
<br>
(Sorry to resurrect an older thread)<br>
<br>
Has this rabbitmq + pyamqplib problem ever been resolved?<br>
<br>
Our group is experimenting with bringing up a massive amount of AMQP clients<br>
using EC2. �And we&#39;re running into the same error described above,<br>
presumably slamming memory on the broker. �It seems like we have a few<br>
choices: bump up the memory (8GB currently), choose a different library with<br>
flow control, or choose a different strategy to rapidly boot several hundred<br>
clients. �Of the three, the last would be the least attractive option.<br>
<br>
Any suggestions on the best alternative lib to avoid this error? �I&#39;m<br>
hearing mixed things about txAMQP&#39;s support of channel flow.<br>
<br>
Would clustering help the issue or make it worse? �(we&#39;re currently a single<br>
broker on a development platform)<br>
<br>
Thanks much,<br>
Brian<br>
<font color="#888888">--<br>
View this message in context: <a href="http://old.nabble.com/Erlang-has-closed--tp28600093p29827331.html" target="_blank">http://old.nabble.com/Erlang-has-closed--tp28600093p29827331.html</a><br>
Sent from the RabbitMQ mailing list archive at Nabble.com.<br>
<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>
</font></blockquote></div><br><br clear="all"><br>-- <br>Adam<br>
</div>