<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">That doesn&#39;t seem like much. I just created 5k exchanges and<br>
created/bound 2 queues to each (i.e. 10k queues), which took about 9<br>
secs to complete, and then I shut the broker down, and restarted it.<br>
The recovery phase took about 20 secs, so I&#39;m wondering what is taking<br>
so long when your broker has to recover. Another possibility is that<br>
it is spending the time in playing the log back in, which happens<br>
after the mnesia recovery phase.</blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="Ih2E3d"><br>
&gt; Are there any other commands or options for triggering a shutdown of<br>
&gt; rabbitmq?<br>
<br>
</div>My favourites are Ctrl-C, kill-9 and halt() :-)</blockquote><div><br></div><div>These are not graceful though, correct? Ideally I&#39;d like to stop the daemon in such a way that a recovery step is not required on the next startup.</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">On a more official note, you can call use the rabbitmqctl script with<br>
the argument stop, but that just calls the rabbit_control module with<br>
the stop argument, which is what you are effectively doing with the<br>
command you mentioned previously.<br>
<br>
If you do have Rabbit running in a shell (or even via a remote shell),<br>
another *cleaner* option is use the OTP application handler i.e.<br>
<br>
1&gt; application:stop(rabbit).</blockquote><div><br></div><div>I&#39;ll try this and see if it produces better results.&nbsp;</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I&#39;ll try to replicate your problem running the same command as you did.<br>
<br>
BTW, when you run this command, do you see an epmd process running in<br>
your activity log?</blockquote><div><br></div><div>epmd is running on the machine.&nbsp;</div><div>&nbsp;</div><div>&nbsp;&nbsp;Aman</div><div></div></div></div>