[rabbitmq-discuss] Consumers stopped consuming messages

Florence Chabanois flocha2000-agile at yahoo.fr
Thu Jul 29 09:18:03 BST 2010


Hi Simon,

You were right about the prefetch count : the consumers always keep consuming now that it is set to 100 instead of infinite. 

Thank you very much for your help !
Florence.



--- En date de : Mar 20.7.10, Simon MacMullen <simon at rabbitmq.com> a écrit :

De: Simon MacMullen <simon at rabbitmq.com>
Objet: Re: [rabbitmq-discuss] Consumers stopped consuming messages
À: rabbitmq-discuss at lists.rabbitmq.com
Date: Mardi 20 juillet 2010, 17h07

Hi Florence. As far as I can see this is reasonable. It's always worth 
setting the prefetch count when using basic.consume (add a line like:

channel.basicQos(100);

before the
 channel.basicConsume line
 in order to ensure you never have 
more than 100 messages queued up in your QueueingConsumer). However, I 
don't think that's your problem.

I assume you have checked that the consumers are idle and waiting for 
message deliveries (with Ctrl+Break / SIGQUIT). Does anything appear in 
the server logs when consumers stop consuming?

Cheers, Simon



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20100729/f1199bac/attachment.htm>


More information about the rabbitmq-discuss mailing list