[rabbitmq-discuss] RabbitMQ Cluster High CPU Usage 100-200%+
Francesco Mazzoli
francesco at rabbitmq.com
Wed Jul 11 11:21:49 BST 2012
At Wed, 11 Jul 2012 18:12:24 +0800,
Wong Kam Hoong wrote:
> Hi,
>
> Now i'm running RabbitMQ in 3 hosts in cluster mode, each Rabbit nodes run in disc mode,
> but I found that even there is no produce and consume operation going on, the % cpu usage
> remain very high especially on the master node.
>
> Below are the TOP result captured in the hosts:
>
> Master Node
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> 13994 rabbitmq 25 0 206m 114m 2304 S 205.0 2.9 670:29.57 beam.smp
>
> 1st Slave
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> 13775 rabbitmq 25 0 136m 49m 2252 S 60.7 1.3 7:02.15 beam.smp
>
> 2nd Slave
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> 23053 rabbitmq 25 0 135m 47m 2248 S 8.7 1.2 8:14.07 beam.smp
>
> Based on the result captured on the hosts the memory usage is OK, but why the
> %cpu usage can be so high? Is it due to my server configuration?
What version of rabbit are you using? We fixed a couple of bugs that could cause
things like this (I'm looking at you, gb_trees!).
--
Francesco * Often in error, never in doubt
More information about the rabbitmq-discuss
mailing list