Extremely slow operations on OSX

101 views
Skip to first unread message

Andrei

unread,
Jun 2, 2015, 10:24:36 AM6/2/15
to rabbitm...@googlegroups.com
Hi, I am trying to figure out why rabbitmq is working EXTREMELY slow on my dev laptop. 

I have just installed v3.5.2 via homebrew and have a hard time using it in my Python 3.4.3 
project (Django, Celery 3.1.18). Publishing and consuming takes very long time (dozens of 
seconds) and management tool is basically hanging showing server information very rare. 

Is there any way I can debug what is going on and how it can be fixed? I haven't notice any 
issues with other servers running on my laptop; memory is fine. 

Not sure what can be a reason of such horrible performance. Any ideas?

Thanks,
Andrei

Michael Klishin

unread,
Jun 2, 2015, 10:41:07 AM6/2/15
to rabbitm...@googlegroups.com, Andrei
Hostname resolution timeouts.

See https://groups.google.com/d/msg/rabbitmq-users/Lr2JGmSXNNk/FuCUMKX3j1cJ
and start by measuring how long it takes to successfully open a connection.
Guessing is not very productive. 
--
MK

Staff Software Engineer, Pivotal/RabbitMQ


Alvaro Videla

unread,
Jun 2, 2015, 10:59:45 AM6/2/15
to Michael Klishin, rabbitm...@googlegroups.com, Andrei
In OSX particularly DTrace and dtruss can be very useful tools to help diagnose these kind of problems

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send an email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Michael Klishin

unread,
Jun 2, 2015, 11:02:25 AM6/2/15
to rabbitm...@googlegroups.com, Andrei, Alvaro Videla
On 2 June 2015 at 17:59:44, Alvaro Videla (videl...@gmail.com) wrote:
> In OSX particularly DTrace and dtruss can be very useful tools
> to help diagnose these kind of problems

Absolutely.

To the OP: n ote that you want to trace your app/client, not RabbitMQ,
first and foremost. Logs and traffic captures (with Wireshark or similar)
will also help narrow the issue down.

Andrei

unread,
Jun 2, 2015, 11:26:07 AM6/2/15
to rabbitm...@googlegroups.com, andrei...@gmail.com, videl...@gmail.com
Sorry, missed the previous discussion (should have searched for osx instead of slow :-) ).

I can confirm that the performance is fine when the network is off.

I have tried to put my hostname in /etc/hosts and even start rabbitmq as

$  HOSTNAME=localhost /usr/local/sbin/rabbitmq-server

but it did not help. Pointing clients to 127.0.0.1 seem not giving any effect neither.

Well, I will try to dig it further. At least I have a way to develop with rabbitmq and not 
being distracted by the internet. win-win

Andrei

Alvaro Videla

unread,
Jun 2, 2015, 11:30:39 AM6/2/15
to Andrei, rabbitm...@googlegroups.com
Apart from localhost I have these entries on my /etc/hosts

127.0.0.1       myname.local

127.0.0.1       myname


Andrei

unread,
Jun 2, 2015, 11:35:02 AM6/2/15
to rabbitm...@googlegroups.com, andrei...@gmail.com
AAAAAArgh, it was the second one!!

127.0.0.1 myname

Thanks a lot!!!

Andrei
Reply all
Reply to author
Forward
0 new messages