[rabbitmq-discuss] MQ consumer become very slow if there are a lot of ready message

Simon MacMullen simon at rabbitmq.com
Mon Jan 6 09:46:41 GMT 2014


On 30/12/2013 16:44, 椰风 wrote:
> After a while, the queue consumer become slow, about 2,000,000 messages
> stayed in queue.
> Then I stop the consumer and restart a new consumer, the speed of
> consumption was still very slow, about 10~700/sec.
>
> My question is why the speed of consumption can not back to the 7k/sec?
> How to improve the speed.

The queue may have started to page its contents out to disk - if so, 
retrieving them can get slower. You can look at the queue details page 
in the management plugin to see if this is the case.

See http://www.rabbitmq.com/memory.html#memsup-paging for some 
configuration.

Cheers, Simon


More information about the rabbitmq-discuss mailing list