[rabbitmq-discuss] High Cpu Usage

Chris Penev cpenev at incognito.com
Fri Jan 18 22:27:26 GMT 2013

Once I restart the server, cpu usage drops back down to less than one

On Fri, Jan 18, 2013 at 2:24 PM, Chris Penev <cpenev at incognito.com> wrote:

> On December 21, 2012, I noticed my rabbitmq server using up 100% cpu even
> though I had nothing connected to it. I checked my uptime (70 days) and
> noted when rabbitmq was started (Oct 25).
> Two days ago I once again, accidentally decided to check what processes
> are running and how much cpu they are taking, noticing rabbitmq once again
> at a steady 45% cpu.
> Following this I wrote a simple shell script to monitor the resource usage
> of rabbitmq. It became clear in the first eight hours and rabbitmq was
> "leaking" resources, consuming more and more cpu, even though _no_ services
> were connected to it. I kept the script running (cron job taking eight top
> samples every 30 minutes) and graphed the cpu usage using gnuplot
> (following the first eight hours, I then did start connecting and
> disconnecting rabbitmq-clients).
> I have attached below the graph I plotted, as well as the top samples that
> were taken. The version of rabbitmq I am using is 2.7.1
> $ echo $(< /etc/issue); uname -a; erl -version
> Debian GNU/Linux wheezy/sid \n \l
> Linux cpenev 3.2.0-4-amd64 #1 SMP Debian 3.2.32-1 x86_64 GNU/Linux
> Erlang (SMP,ASYNC_THREADS) (BEAM) emulator version 5.9.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130118/8ba4f1cb/attachment.htm>

More information about the rabbitmq-discuss mailing list