<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I am evaluating Rabbitmq 3.2.0 in Ubuntu 12.04. I have set up a 2 node cluster.<div><br><div>From time to time (around a couple of hours after the cluster has been set up), I would get this error in the sasl.log. Note: I am not able to reproduce this issue.</div><div><br></div><div><div>=CRASH REPORT==== 5-Nov-2013::12:34:51 ===</div><div>&nbsp; crasher:</div><div>&nbsp; &nbsp; initial call: gen:init_it/6</div><div>&nbsp; &nbsp; pid: &lt;0.6024.14&gt;</div><div>&nbsp; &nbsp; registered_name: []</div><div>&nbsp; &nbsp; exception exit: {{badmatch,true},</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[{rabbit_queue_index,init,2},</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {rabbit_variable_queue,init,5},</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {rabbit_mirror_queue_master,init,3},</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {rabbit_amqqueue_process,declare,3},</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {gen_server2,handle_msg,2},</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {proc_lib,init_p_do_apply,3}]}</div><div>&nbsp; &nbsp; &nbsp; in function &nbsp;gen_server2:terminate/3</div><div>&nbsp; &nbsp; ancestors: [rabbit_amqqueue_sup,rabbit_sup,&lt;0.4763.12&gt;]</div><div>&nbsp; &nbsp; messages: []</div><div>&nbsp; &nbsp; links: [&lt;0.4951.12&gt;]</div><div>&nbsp; &nbsp; dictionary: [{{xtype_to_module,direct},rabbit_exchange_type_direct}]</div><div>&nbsp; &nbsp; trap_exit: true</div><div>&nbsp; &nbsp; status: running</div><div>&nbsp; &nbsp; heap_size: 1597</div><div>&nbsp; &nbsp; stack_size: 24</div><div>&nbsp; &nbsp; reductions: 1198</div><div>&nbsp; neighbours:</div><div><br></div><div>=SUPERVISOR REPORT==== 5-Nov-2013::12:34:51 ===</div><div>&nbsp; &nbsp; &nbsp;Supervisor: {local,rabbit_amqqueue_sup}</div><div>&nbsp; &nbsp; &nbsp;Context: &nbsp; &nbsp;child_terminated</div><div>&nbsp; &nbsp; &nbsp;Reason: &nbsp; &nbsp; {{badmatch,true},</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [{rabbit_queue_index,init,2},</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{rabbit_variable_queue,init,5},</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{rabbit_mirror_queue_master,init,3},</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{rabbit_amqqueue_process,declare,3},</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{gen_server2,handle_msg,2},</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{proc_lib,init_p_do_apply,3}]}</div><div>&nbsp; &nbsp; &nbsp;Offender: &nbsp; [{pid,&lt;0.6024.14&gt;},</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {name,rabbit_amqqueue},</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {mfargs,{rabbit_amqqueue_process,start_link,undefined}},</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {restart_type,temporary},</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {shutdown,4294967295},</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {child_type,worker}]</div><div><br></div><div>And in the web UI, the queue will show up like this.</div><div><br></div><div><img id="62f8d043-b04f-4850-9922-e09545c7f6bc" height="21" width="735" apple-width="yes" apple-height="yes" src="cid:494C7398-0F54-4A69-8C79-8D2AAC09B4D5@ext.evbops.com"></div><div><br></div></div><div><br></div><div>Then if I click on the queue on the UI, I will get this error/warning.</div><div><br></div><div><span style="color: rgb(72, 72, 72); font-family: Verdana, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;">TypeError: Cannot read property 'ram_msg_count' of undefined</span></div><div><br></div><div><br></div><div>And if I do this on the command-line and grab the queue in question, I will get this incomplete data (as opposed to the info of other queues).</div><div><br></div><div>$ curl <a href="http://guest:guest@localhost:15672/api/queues">http://guest:guest@localhost:15672/api/queues</a></div><div><br></div><div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; "arguments": {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "x-ha-policy": "all"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; },</div><div>&nbsp; &nbsp; &nbsp; &nbsp; "auto_delete": false,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; "durable": true,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; "name": "test_queue",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; "node": "rabbit@localhost",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; "vhost": "/"</div><div>&nbsp; &nbsp; },</div></div><div><br></div><div><br></div><div>Also, if I do this, the queue in question will not show up.</div><div><br></div><div><font class="Apple-style-span" color="#141414" face="'Lucida Grande'"><span class="Apple-style-span" style="line-height: 14px;">$ sudo rabbitmqctl list_queues</span></font></div><div><font class="Apple-style-span" color="#141414" face="'Lucida Grande'"><span class="Apple-style-span" style="line-height: 14px;"><br></span></font></div><div><font class="Apple-style-span" color="#141414" face="'Lucida Grande'"><span class="Apple-style-span" style="line-height: 14px;"><br></span></font></div><div><font class="Apple-style-span" color="#141414" face="'Lucida Grande'"><span class="Apple-style-span" style="line-height: 14px;">But if I try to declare a queue like this,</span></font></div><div><font class="Apple-style-span" color="#141414" face="'Lucida Grande'"><span class="Apple-style-span" style="line-height: 14px;"><br></span></font></div><div><font class="Apple-style-span" color="#141414" face="'Lucida Grande'"><span class="Apple-style-span" style="line-height: 14px;">$ ./rabbitmqadmin declare queue name=test_queue</span></font></div><div><font class="Apple-style-span" color="#141414" face="'Lucida Grande'"><span class="Apple-style-span" style="line-height: 14px;"><br></span></font></div><div><font class="Apple-style-span" color="#141414" face="'Lucida Grande'"><span class="Apple-style-span" style="line-height: 14px;">or&nbsp;</span></font></div><div><font class="Apple-style-span" color="#141414" face="'Lucida Grande'"><span class="Apple-style-span" style="line-height: 14px;"><br></span></font></div><div><span class="Apple-style-span" style="color: rgb(20, 20, 20); font-family: 'Lucida Grande'; line-height: 14px; ">$ ./rabbitmqadmin delete queue name=test_queue</span></div><div><font class="Apple-style-span" color="#141414" face="'Lucida Grande'"><span class="Apple-style-span" style="line-height: 14px;"><br></span></font></div><div><font class="Apple-style-span" color="#141414" face="'Lucida Grande'"><span class="Apple-style-span" style="line-height: 14px;">Both commands will just hang.</span></font></div><div><font class="Apple-style-span" color="#141414" face="'Lucida Grande'"><span class="Apple-style-span" style="line-height: 14px;"><br></span></font></div><div><font class="Apple-style-span" color="#141414" face="'Lucida Grande'"><span class="Apple-style-span" style="line-height: 14px; "><br></span></font></div><div><font class="Apple-style-span" color="#141414" face="'Lucida Grande'"><span class="Apple-style-span" style="line-height: 14px; ">So, I would like to know what the traceback mean and possible way to fix it.</span></font></div><div><font class="Apple-style-span" color="#141414" face="'Lucida Grande'"><span class="Apple-style-span" style="line-height: 14px;"><br></span></font></div><div><font class="Apple-style-span" color="#141414" face="'Lucida Grande'"><span class="Apple-style-span" style="line-height: 14px;"><br></span></font></div><div><font class="Apple-style-span" color="#141414" face="'Lucida Grande'"><span class="Apple-style-span" style="line-height: 14px;">Thanks,</span></font></div><div><font class="Apple-style-span" color="#141414" face="'Lucida Grande'"><span class="Apple-style-span" style="line-height: 14px;">Jonathan</span></font></div><div><font class="Apple-style-span" color="#141414" face="'Lucida Grande'"><span class="Apple-style-span" style="line-height: 14px;"><br></span></font></div></div></body></html>