[rabbitmq-discuss] Queue increases too quickly
Ken Peng
yhpeng at orange.fr
Thu May 2 09:52:09 BST 2013
Hello,
We have the queue publisher and subscriber, the subscriber is going with
multi-threads.
The problem is the queue has been increasing too quickly, the consumers
can not follow the increment speed, as you see:
root at ubuntu:~# for i in `seq 1 10`;do rabbitmqctl list_queues -p
/actionlog;sleep 1;done
Listing queues ...
queue_storm_actionlog 12665787
...done.
Listing queues ...
queue_storm_actionlog 12670873
...done.
Listing queues ...
queue_storm_actionlog 12667975
...done.
Listing queues ...
queue_storm_actionlog 12672645
...done.
After one day or about, the queue size can be more than 20 millions,
thus RabbitMQ becomes high load and the consuming process is very slow.
How to handle this? Thanks.
More information about the rabbitmq-discuss
mailing list