[rabbitmq-discuss] Losing messages, why?

DOBRO vertolet666 at yandex.ru
Sat Feb 26 08:12:04 GMT 2011



Jerry Kuch wrote:
> 
> I think earlier in the thread we established that all of your
> consumers are consuming with noAck=true, so therefore everything
> should be getting ACK-ed as its consumed.  That would be consistent
> with what we're seeing here, since there are no messages being
> reported as unacknowledged by rabbitmqctl.  On the other hand, since a
> message has to be delivered before it can be ACK-ed, one would also
> think that the messages_ready (the second column from the right in
> your output) should also read zero.
> 
> Has, perhaps, one of your consumers died?  Or become busy and stopped
> consuming and acking from queue_name_2?
> 
> To investigate try:
> 
> rabbitmqctl list_consumers
> 

I've found out that for some queues the values of "messages" and
"messages_ready" become grow up in time.
Here is the selective output:

# rabbitmqctl list_queues name messages messages_ready
messages_unacknowledged
allplayers-11334-1298702053625  137     137     0

Trying this command every 10-20 seconds:

allplayers-11334-1298702053625  148     148     0
allplayers-11334-1298702053625  177     177     0
allplayers-11334-1298702053625  246     246     0


Listing consumers for that queue:
# rabbitmqctl list_consumers
allplayers-11334-1298702053625  <rabbit at chessvegas.3.30209.103>
allplayers-11334-1298702053625  false

Hmmm... the consumer is not died.

-- 
View this message in context: http://old.nabble.com/Losing-messages%2C-why--tp30958766p31018690.html
Sent from the RabbitMQ mailing list archive at Nabble.com.



More information about the rabbitmq-discuss mailing list