[rabbitmq-discuss] rabbitmq-server load average
Emile Joubert
emile at rabbitmq.com
Mon Apr 30 17:36:21 BST 2012
Hi Alexander,
On 26/04/12 15:01, Alexander Klimenko wrote:
> I use rabbitmq-server v. *2.5.1*-1 on *debian squeeze* with kernel
> *3.0.0-14*.
> At the moment I perform performance optimization. I noticed that when I
> start rabbitmq-server (on Intel(R) Atom(TM) CPU D525, 2 cores) system
> load average get growth from *~0.5* to *~1*. *So my question: what
> causes such growth?*
> rabbitmq-server has one subscriber process and if I switch it off
> (subscriber) it doesn't change load average.
Is the load of 1.0 sustained while the broker is idle, and does it
remain at that level indefinitely after all peers have disconnected? I'm
not familiar with that architecture, but on my workstation an idle
broker imposes negligible load.
The presence of producers as well as subscribers can impose load. If
you still had producers connected then that could explain the load. You
can use "rabbitmqctl list_connections" to confirm that no peers are
connected to the broker.
Can you confirm that the beam (or beam.smp) process is responsible for
the load? If you have clients connecting over the loopback interface
then they may be responsible for the load.
If none of the above points to a culprit, and you have 'etop' included
in your Erlang installation then you may want to check whether any
Erlang processes are contributing disproportionately to the load:
etop -node rabbit at host -lines 20 -sort reductions
-Emile
More information about the rabbitmq-discuss
mailing list