[rabbitmq-discuss] server crashes with very fast consumers

alex chen chen650 at yahoo.com
Tue Mar 29 08:10:36 BST 2011


John,


> One more question. You say RabbitMQ crashes when you run these tests? And it 
>crashes without writing anything interesting in th logs? Or printing anything to 
>the console? It just exits?

It crashed without any errors in the log.  

I found a problem with my the amqp_consumer.c that I sent last week.  it did not 
send acknowledgement after consuming the messages.  Attached please find the 
updated amqp_consumer with ack enabled.  please use this for testing.

Currently the tests would send 3000 messages to each queue (MESSAGE_COUNT=3000 
in common.sh).
If you find some fast consumers already finish consuming 3000 messages much 
earlier than other consumers, please change MESSAGE_COUNT=5000.  this would 
reliably reproduce the broker crash.  if you ran 

"top | grep beam" while all 1000 consumers are running, you can see its memory 
usage grows to more than 3500 MB before it crashes.

Thanks.

-alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20110329/ef6c2cfe/attachment-0001.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: amqp_consumer.c
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20110329/ef6c2cfe/attachment.txt>


More information about the rabbitmq-discuss mailing list