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

John Apps johndapps at gmail.com
Thu Jan 28 09:32:00 GMT 2010


>
>
>
> How long is 'quite some time'?
> >>>60 seconds
>


> 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?
>
> >>>Any command, including no command


> 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?
>
> >>> Yes, when it hangs, it is _after_ display of whatever is to be
> displayed. It will also hang if _no_ command is given. There is no
> pattern ascertainable to exactly when.
>


>  Interestingly enough, it does not accept <CTRL>C either.
>>
>
> I'll have to find a Windows machine to try to reproduce that.
>

>  This wait is only encountered when activity is going on with <<< This
>> statement is _incorrect_ as I have just discovered
>> RabbitMQ, no matter what it is.
>>
>
> So this only happens when rabbit is really busy?
> >>>what is really busy? I just got it to hang for 60 seconds with _no_
> activity, having just started the broker
>


> 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.
>


> >>>As I said, not a bug per se, just annoying
>
>>
>> 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 is the rabbitmqctl.bat that I am using. It is what the kit
> installed, no modifications by me.
> @echo off
> REM   The contents of this file are subject to the Mozilla Public License
> REM   Version 1.1 (the "License"); you may not use this file except in
> REM   compliance with the License. You may obtain a copy of the License at
> REM   http://www.mozilla.org/MPL/
> REM
> REM   Software distributed under the License is distributed on an "AS IS"
> REM   basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
> the
> REM   License for the specific language governing rights and limitations
> REM   under the License.
> REM
> REM   The Original Code is RabbitMQ.
> REM
> REM   The Initial Developers of the Original Code are LShift Ltd,
> REM   Cohesive Financial Technologies LLC, and Rabbit Technologies Ltd.
> REM
> REM   Portions created before 22-Nov-2008 00:00:00 GMT by LShift Ltd,
> REM   Cohesive Financial Technologies LLC, or Rabbit Technologies Ltd
> REM   are Copyright (C) 2007-2008 LShift Ltd, Cohesive Financial
> REM   Technologies LLC, and Rabbit Technologies Ltd.
> REM
> REM   Portions created by LShift Ltd are Copyright (C) 2007-2009 LShift
> REM   Ltd. Portions created by Cohesive Financial Technologies LLC are
> REM   Copyright (C) 2007-2009 Cohesive Financial Technologies
> REM   LLC. Portions created by Rabbit Technologies Ltd are Copyright
> REM   (C) 2007-2009 Rabbit Technologies Ltd.
> REM
> REM   All Rights Reserved.
> REM
> REM   Contributor(s): ______________________________________.
> REM
>
> setlocal
>
> if "%RABBITMQ_NODENAME%"=="" (
>     set RABBITMQ_NODENAME=rabbit
> )
>
> if not exist "%ERLANG_HOME%\bin\erl.exe" (
>     echo.
>     echo ******************************
>     echo ERLANG_HOME not set correctly.
>     echo ******************************
>     echo.
>     echo Please either set ERLANG_HOME to point to your Erlang installation
> or p
> lace the
>     echo RabbitMQ server distribution in the Erlang lib folder.
>     echo.
>     exit /B
> )
>
> "%ERLANG_HOME%\bin\erl.exe" -pa "%~dp0..\ebin" -noinput -hidden
> %RABBITMQ_CTL_ER
> L_ARGS% -sname rabbitmqctl -s rabbit_control -nodename %RABBITMQ_NODENAME%
> -extr
> a %*
> endlocal
>
> Regards,
>
> Matthias.
>



-- 
---
John Apps
(49) 171 869 1813
Sent from Grassau, Bavaria, Germany
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20100128/72d08124/attachment.htm 


More information about the rabbitmq-discuss mailing list