[rabbitmq-discuss] Gracefully shutting down rabbitmq

Ben Hood 0x6e6562 at gmail.com
Fri Aug 29 14:20:29 BST 2008


Aman,

On Fri, Aug 29, 2008 at 9:04 AM, Aman Gupta <rabbitmq at tmm1.net> wrote:
> I am only running one rabbitmq node. When I want to shutdown, I run
> another node named rabbitmq_controller to send rabbitmq the shutdown
> command. Rabbit gets the command, starts the shutdown process and then
> fails with that error.
>
> This happens everytime I try to shutdown.

OK, I'll have a look into that.

As side issue, can you be more specific about what part of the process
is actually taking 20 mins?

You wrote:

>Logging to "logs/rabbitmq-9580.log"
>SASL logging to "rabbitmq-9580-sasl.log"
>
>starting database             ...done
>starting core processes       ...done
>starting recovery             ...
>
>This can take almost 20 minutes.

I assume from your output that the 20 min wait is for the recovery
phase. During this phase, all of the durable exchanges and queues are
recovered. Do you know how many of each do you have? Also, did you
intend to have so many durable objects, bearing in mind the cost of
maintaining them?

HTH,

Ben




More information about the rabbitmq-discuss mailing list