[rabbitmq-discuss] The rabbitmq-server stop command hangs
Tim Watson
tim at rabbitmq.com
Thu Nov 29 08:48:46 GMT 2012
Hi Liz,
Would you mind running the trace (against a stuck rabbit) again please? You'll need to download the latest version of the tool from https://github.com/hyperthunk/suptree_inspect/downloads and run it like so:
$ escript suptree_inspect.beam rabbit@<host> rabbit_shovel_sup | tee output-shovel.log
Many thanks!
Tim
On 28 Nov 2012, at 22:44, Tim Watson wrote:
> Hi Liz,
>
> On 28 Nov 2012, at 19:45, Elizabeth Liao wrote:
>
>> I've attached the rabbitmq.config, rabbit.log, rabbit-sasl.log of the node that we're running.
>>
>>> Are you clustered (I'm assuming yes) and have you got some mirrored queues set up (also assuming yes)?
>> We don't have clustering set up so no mirrored queues either.
>>
>
> Yes of course, I should've spotted that from the trace.
>
>>> And can you get the shovel status ("rabbitmqctl eval
>> 'rabbit_shovel_status:status().'") at the time the shutdown is hanging?
>>
>> # rabbitmqctl eval 'rabbit_shovel_status:status().'
>> [{shovelB_realtime,starting,{{2012,11,28},{14,9,20}}},
>> {shovelB,starting,{{2012,11,28},{14,9,20}}},
>> {shovelA,
>> {running,
>> {source,
>> {amqp_params_direct,<<"guest">>,none,<<"/">>,rabbit at TEST2,
>> none,[]}},
>> {destination,
>> {amqp_params_network,<<"user1">>,<<"pass1">>,<<"/">>,
>> "server.local",undefined,0,0,5,infinity,none,
>> [#Fun<amqp_uri.7.123484526>,#Fun<amqp_uri.7.123484526>],
>> [],[]}}},
>> {{2012,11,28},{14,9,25}}}]
>> ...done.
>>
>
> Well unsurprisingly, Matthias was right about Shovel. Looks like the shovel plugin is stuck - can you explain what your shovel configuration is meant to be doing? It seems shovelB_realtime and shovelB are both hung during startup - are these guys meant to be sending data or receiving it? And shovelA - is that using a direct (Erlang) connection to obtain data from rabbit at Test2 (the source) and send it to the local server (on which it is currently running) using a network based connection? I'm a bit confused about that setup - why not the other way around? - though I've not really spent much time looking at the shovel plugin tbh so it may be I'm missing something very obvious.
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
More information about the rabbitmq-discuss
mailing list