I got this same problem using MacOS 10.5, that I&#39;m using now, RHE and Debian with RabbitMQ 1.7 never got it with 1.6.<div><br></div><div>Look I can reproduce it all the time, in all this environments just do Crtl+C in console running RabbitMQ-server and try to start again, and booom the problem�appears. I just do it again to show the metrics that you request me.</div>
<div><br></div><div><br></div><div>====== Fail process.</div><div><div><b>�./start-rabbitmq.sh�</b></div><div><br></div><div>+---+ � +---+</div><div>| � | � | � |</div><div>| � | � | � |</div><div>| � | � | � |</div><div>
| � +---+ � +-------+</div><div>| � � � � � � � � � |</div><div>| RabbitMQ �+---+ � |</div><div>| � � � � � | � | � |</div><div>| � v1.7.0 �+---+ � |</div><div>| � � � � � � � � � |</div><div>+-------------------+</div><div>
AMQP 8-0</div><div>Copyright (C) 2007-2009 LShift Ltd., Cohesive Financial Technologies LLC., and Rabbit Technologies Ltd.</div><div>Licensed under the MPL. �See <a href="http://www.rabbitmq.com/">http://www.rabbitmq.com/</a></div>
<div><br></div><div>node � � � � �: rabbit@189-94-130-143</div><div>app descriptor: /opt/local/lib/rabbitmq/bin/../lib/rabbitmq_server-1.7.0/sbin/../ebin/rabbit.app</div><div>home dir � � �: /opt/local/var/lib/rabbitmq</div>
<div>cookie hash � : diX16VkN3b6UrKJtDPVb1Q==</div><div>log � � � � � : /opt/local/var/log/rabbitmq/rabbit.log</div><div>sasl log � � �: /opt/local/var/log/rabbitmq/rabbit-sasl.log</div><div>database dir �: /opt/local/var/lib/rabbitmq/mnesia/rabbit</div>
<div><br></div><div>starting database � � � � � � ...done</div><div>starting core processes � � � ...done</div><div>starting recovery � � � � � � ...done</div><div>starting persister � � � � � �...done</div><div>starting guid generator � � � ...done</div>
<div>starting builtin applications ...done</div><div>starting TCP listeners � � � �...done</div><div>starting SSL listeners � � � �...done</div><div><br></div><div>broker running</div><div><b>^C</b></div><div><b>BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded</b></div>
<div><b>�� � � (v)ersion (k)ill (D)b-tables (d)istribution</b></div><div><b>a</b></div><div><br></div><div><b>$~ gustavoaquino$ ./start-rabbitmq.sh�</b></div><div>Password:</div><div><br></div><div>+---+ � +---+</div><div>
| � | � | � |</div><div>| � | � | � |</div><div>| � | � | � |</div><div>| � +---+ � +-------+</div><div>| � � � � � � � � � |</div><div>| RabbitMQ �+---+ � |</div><div>| � � � � � | � | � |</div><div>| � v1.7.0 �+---+ � |</div>
<div>| � � � � � � � � � |</div><div>+-------------------+</div><div>AMQP 8-0</div><div>Copyright (C) 2007-2009 LShift Ltd., Cohesive Financial Technologies LLC., and Rabbit Technologies Ltd.</div><div>Licensed under the MPL. �See <a href="http://www.rabbitmq.com/">http://www.rabbitmq.com/</a></div>
<div><br></div><div>node � � � � �: rabbit@187-26-170-110</div><div>app descriptor: /opt/local/lib/rabbitmq/bin/../lib/rabbitmq_server-1.7.0/sbin/../ebin/rabbit.app</div><div>home dir � � �: /opt/local/var/lib/rabbitmq</div>
<div>cookie hash � : diX16VkN3b6UrKJtDPVb1Q==</div><div>log � � � � � : /opt/local/var/log/rabbitmq/rabbit.log</div><div>sasl log � � �: /opt/local/var/log/rabbitmq/rabbit-sasl.log</div><div>database dir �: /opt/local/var/lib/rabbitmq/mnesia/rabbit</div>
<div><br></div><div><b>starting database � � � � � � ...{&quot;init terminating in do_boot&quot;,{{nocatch,{error,{cannot_start_application,rabbit,{{timeout_waiting_for_tables,[rabbit_user,rabbit_user_permission,rabbit_vhost,rabbit_config,rabbit_listener,rabbit_durable_route,rabbit_route,rabbit_reverse_route,rabbit_durable_exchange,rabbit_exchange,rabbit_durable_queue,rabbit_queue]},{rabbit,start,[normal,[]]}}}}},[{init,start_it,1},{init,start_em,1}]}}</b></div>
<div><b><br></b></div><div><b>Crash dump was written to: erl_crash.dump</b></div><div><b>init terminating in do_boot ()</b></div><div><br></div><div>=== Final fail process</div></div><div>�</div><div>About resources machine, the CPU, Memory and IO�increase just 1 or 3 % of start time, at start time my machine was using 10% of CPU, Memory dont grow nothing about 20-30mb, and IO just continue in the same way�I don&#39;t identify any different in machine status.</div>
<div><br></div><div>To put my rabbit to work again after this test I just delete the schema.DAT file in�/opt/local/var/lib/rabbitmq/mnesia/rabbit, don&#39;t remove all the files.</div><div><br></div><div>This is the file size before deleted.</div>
<div><br></div><div><div>-rw-r--r-- � 1 rabbitmq �rabbitmq �12K 24 Jan 16:36 schema.DAT</div><div><br></div><div><br></div><div>[]s</div></div><div>�<br><br><div class="gmail_quote">On Sun, Jan 24, 2010 at 5:07 PM, Matthew Sackman <span dir="ltr">&lt;<a href="mailto:matthew@lshift.net">matthew@lshift.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<div class="im"><br>
On Sun, Jan 24, 2010 at 04:42:31PM -0200, Gustavo Aquino wrote:<br>
&gt; It&#39;s works, I delete all rabbit files and schema.DAT and Rabbit come back to<br>
&gt; work, but look that, i do one crtl+C in console and Rabbit crash again.<br>
&gt;<br>
&gt; I really would like to know why it&#39;s happened I&#39;m working in a very big<br>
&gt; project that planing to use RabbitMQ and this comportment seriously concern<br>
&gt; us, principally that we will have persistent queues that can be removed.<br>
&gt;<br>
&gt; Can you explain more about the problem please ?<br>
<br>
</div>Well I would if I could. I&#39;m not sure why what&#39;s happening is happening<br>
for you - I&#39;ve not really seen it before. If your database is empty(ish)<br>
then I have no idea why mnesia is taking so long to start up. Can you<br>
monitor disk activity and CPU activity? - is the startup process<br>
swamping lots of CPU or disk throughput as it tries to come up? Are you<br>
running in a clustered scenario? What OS are you using - is this &quot;in the<br>
cloud&quot; at all, or virtualised in some way?<br>
<br>
Normally, with an small database, mnesia should start up very quickly<br>
indeed, so I am puzzled as to why this timeout is occurring for you.<br>
<font color="#888888"><br>
Matthew<br>
</font></blockquote></div><br></div>