<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:10pt"><div>John,<br><br>I tried building my previous patched amqp_consumer with latest rabbitmq-c, however, the build breaks because the current amqp.h does not support AMQP_SIMPLE_RPC anymore. Ideally amqp.h should support the following function, as commented in my patch:<br><br>/* amqp.h should support this */<br>int amqp_basic_qos(amqp_connection_state_t state,<br> amqp_channel_t channel,<br> uint32_t
prefetch_size,<br> uint16_t prefetch_count,<br> amqp_boolean_t global)<br><br>It would be nice if rabbitmq-c maintainer could add this api. otherwise, i have to take a look at the src code and see if it can be implemented.<br><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 10pt;">thanks.<br><br>-alex<br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> John DeTreville <john@detreville.org><br><b><span style="font-weight: bold;">To:</span></b> alex chen
<chen650@yahoo.com><br><b><span style="font-weight: bold;">Cc:</span></b> rabbitmq <rabbitmq-discuss@lists.rabbitmq.com><br><b><span style="font-weight: bold;">Sent:</span></b> Wed, March 16, 2011 7:04:08 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [rabbitmq-discuss] server crashes with very fast consumers<br></font><br>
Alex,<br><br>I'm trying to reproduce your problems and I'm having a very hard time doing so.<br><br>Your example code is based on your own modifications to the sources in the rabbitmq-c/examples directory in some revision from last summer, which itself depends on some revision of rabbitmq-codegen from last summer. I'm having a hard time building it.<br><br>I'm guessing you've run all of this much more recently. Could you please mail us a <a target="_blank" href="http://bind.sh">bind.sh</a>, <a target="_blank" href="http://producer.sh">producer.sh</a>, and <a target="_blank" href="http://consumer.sh">consumer.sh</a> that work with the current rabbitmq-c/examples directory? Could you also add your modifications to the source code in the current rabbitmq-c/examples directory? This would help a great deal.<br><br>Even so, I've been able to reproduce some crashes, but I very much doubt they're the same crashes that you're seeing. Again, please tell me exactly
what to do to reproduce your problem, starting with the current version of rabbitmq-c. Thank you.<br><br>Cheers,<br>John<br><br>On Mar 14, 2011, at 4:29 PM, Matthias Radestock wrote:<br><br>> Alex,<br>> <br>> alex chen wrote:<br>>>> Any chance you could script the above to the point where all one <br>>> needs to do is:<br>>>> 1) start clean rabbit<br>>>> 2) run test script<br>>>> 3) wait for broker to die<br>>> <br>>> The test scripts are exactly the same as before:<br><span>>> <a target="_blank" href="http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2010-August/008570.html">http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2010-August/008570.html</a></span><br>> <br>> It would really help if you consolidated all that into a simple set up <br>> as I mention above. As it stands we have to piece together the test code <br>> and scripts from various emails. That a)
takes time, and b) increases <br>> the chances that we will be doing something slightly different and thus <br>> not be able to reproduce the problem.<br>> <br>> Regards,<br>> <br>> Matthias.<br>> PS: please keep rabbitmq-discuss on the cc.<br>> _______________________________________________<br>> rabbitmq-discuss mailing list<br>> <a ymailto="mailto:rabbitmq-discuss@lists.rabbitmq.com" 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><br></div></div>
</div><br>
</body></html>