[rabbitmq-discuss] rabbitmqctl often hangs at the end of a query, e.g., list_queues, for a good 60 seconds or more (Windows 7)

Matthias Radestock matthias at lshift.net
Wed Jan 27 23:35:54 GMT 2010


John,

John Apps wrote:
> Whilst not being a bug per se, it is annoying behaviour when rabbitmqctl 
> 'sits there' for quite some time.

How long is 'quite some time'?

And what rabbitmqctl command were you trying to run? list_queues (as per 
the subject line)? If so, how many queues did you have at the time?

And when you say (in the subject line) that rabbitmqctl hangs *at the 
end* of a query, do you mean it displays the results and *then* hangs?

> Interestingly enough, it does not accept <CTRL>C either.

I'll have to find a Windows machine to try to reproduce that.

Are you running the standard rabbitmqctl.bat script? In the other thread 
you posted some rabbitmqctl output which contained progress log 
information, which is not something we see in testing and for which the 
most plausible explanation is that some additional options have been 
passed to the erl executable.

> This wait is only encountered when activity is going on with
> RabbitMQ, no matter what it is.

So this only happens when rabbit is really busy?

Rabbit does prioritise handling of rabbitmqctl processing over most 
other tasks, but when the server is under heavy load it can still take 
some time to handle these requests. There is not much we can do about 
that really, since we wouldn't want to stop message processing altogether.


Regards,

Matthias.




More information about the rabbitmq-discuss mailing list