[rabbitmq-discuss] rabbitmq recovery, channelflow, and clients

Tyler Williams tyler at echonest.com
Sat May 22 14:21:32 BST 2010


I've been playing with the 21673 branch of rabbitmq, and I have a few questions. 

How does rabbitmq handle bumping up against ulimit -n?

After overwhelming rabbitmq with what I think is a misbehaving client, and then restarting it, rabbitmq recovers some of my queues, and none of the messages that were in them. Is this the expected behavior? I see messages like this in rabbit.log for the unrecovered queues:

=ERROR REPORT==== 21-May-2010::20:11:07 ===
** Generic server <0.981.0> terminating 
** Last message in was {init,true}
** When Server state == {q,{amqqueue,{resource,<<"/">>,queue,<<"queue-23">>},
** Reason for termination == 
** {{badmatch,{error,emfile}},

With respect to ChannelFlow, when rabbit gets a high mem watermark event and sends out the channelflow command to producers, will it disconnect producers who don't honor this?

I've been playing with both pika and amqplib clients. With pika, I see the watermark get set, the flow exception thrown in my producer, and then eventually the watermark gets cleared. With amqplib I see the watermark set but never cleared. I see what looks like some support for flow in amqplib, but I can't tell how it's being used.

Any help you can give me is appreciated!



More information about the rabbitmq-discuss mailing list