[rabbitmq-discuss] High-number of unack-ed messages

Andreas Jung lists at zopyx.com
Mon May 17 19:36:41 BST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Matthew Sackman wrote:
> Hi Andreas,
> 
> On Thu, May 13, 2010 at 12:02:04PM +0200, Andreas Jung wrote:
>> I inserted some 500k messages with one produce into the queue.
>> Then I attached one consumer to the queue feeding the messages into
>> Solr. The consumer is implemented as callback using the Carrot bindings
>> for Python. Every message is directly acknowledged. However "Alice"
>> always shows me between 300 and 500 unacknowledged messages. Shouldn't
>> that number be 0 or 1?
> 
> Well. It should be low, but if there's no QoS being set by Alice then it
> can get quite high. I would only trust it to be 0 or 1 if Alice was also
> setting a QoS prefetch of 1, and even then, there are cases where the
> unack count can be higher than that.
> 
> After Alice had drained all 500k messages, was the unack count still
> high, or had it dropped to 0 by then?
>

Since I am not very happy with Alice+Wonderland I would like bring
the discussion back the point: what is the easiest way for getting hold
of the queue names, the number of messages in each queue and the number
of unacknowledged messages? rabbitctl seems to expose only queue names
and the number of messages but not the number of unack-ed messages.

Andreas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvxjLkACgkQCJIWIbr9KYxioQCeMLYYSrsTTmXsG5i1sa/wi/mp
T7YAoL25EuCObjZ5rbj/oIb5JkEP6K1m
=+mNG
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
Url : http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20100517/c7f79b57/attachment.vcf 


More information about the rabbitmq-discuss mailing list