[rabbitmq-discuss] Losing messages, why?

Matthias Radestock matthias at rabbitmq.com
Wed Mar 2 08:10:37 GMT 2011


Matthias Radestock wrote:
> Anyway, next step is to look at some traces.

Actually, you could try something simpler first. Run

rabbitmqctl list_connections peer_address peer_port state send_oct 
send_cnt send_pend

Identify the worker connections (shouldn't be hard since you said they 
are all local) and check on the send_* counts. Keep running that command 
every few seconds. You should see the send_oct and send_cnt going up, 
indicating that the server is sending messages to the worker. And 
send_pend should generally be 0, with the occasional blip.

When the system gets into the problematic state where you think workers 
are no longer receiving messages, repeat the above and check whether any 
of the counts have stopped moving.

Regards,

Matthias.


More information about the rabbitmq-discuss mailing list