[rabbitmq-discuss] High cpu usage for Java RabbitMQ client?

Elsner, Robert Robert.Elsner at echostar.com
Wed Mar 25 01:05:31 GMT 2009


> You should not be using the tip. See
> http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2009-January/003164.html

I used the directions from http://www.rabbitmq.com/build-server.html to download.  If those are incorrect, then that needs to be fixed.  I was referred to that page by an email a little bit ago to the list.

>Looks fairly sane. The connection thread sits exactly where you'd expect 
> it to be when not much is happening on the connection, namely in a 
> socketRead0. There are a whole bunch of non-rabbit threads though, 
> including UI threads. It would be good to eliminate those from our 
> enquiries.

Yes there are a lot of UI threads.  The UI is entirely driven by messages from AMQP.  

What I did, in a different experiment, was disable posting to the AMQP broker.  The UI is then doing nothing, and the system process time is the majority of effort.  I'm thinking of running strace on this, to see what the specific issue is.  My concern is that, for some reason, the call is not blocking in a nice way and is causing excess looping somewhere.

I will develop a non-UI process that does the same things and test it.  If I can reproduce this result then I can post that code.

Thanks for your help,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20090324/749db263/attachment.htm 

More information about the rabbitmq-discuss mailing list