[rabbitmq-discuss] High CPU Usage

Michael Klishin mklishin at gopivotal.com
Sat Jun 7 00:48:29 BST 2014


On 7 June 2014 at 03:04:24, Williams, Brent (Snapfish Web Platform) (brent.williams at hp.com) wrote:
> > I have 10 Queues and multiple clients connecting around 1,000.  
> My CPU is running at 300 % on the beam.swp process. Also my RabbitMq  
> management console is reporting 5800 erlang processes. Any  
> ideas what I might be missing?

300% CPU means 3 cores fully utilised . 5800 Erlang processes is fine: you can create
millions of them and send each a message on significantly more modest hardware.

Some numbers on how much a newly spawned Erlang process takes can be found
in the docs: http://www.erlang.org/doc/efficiency_guide/processes.html

(in your case the number will be higher because SMP is almost certainly used)
--  
MK  

Software Engineer, Pivotal/RabbitMQ


More information about the rabbitmq-discuss mailing list