<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> crasher:</div><div> initial call: gen:init_it/6</div><div> pid: <0.6024.14></div><div> registered_name: []</div><div> exception exit: {{badmatch,true},</div><div> [{rabbit_queue_index,init,2},</div><div> {rabbit_variable_queue,init,5},</div><div> {rabbit_mirror_queue_master,init,3},</div><div> {rabbit_amqqueue_process,declare,3},</div><div> {gen_server2,handle_msg,2},</div><div> {proc_lib,init_p_do_apply,3}]}</div><div> in function gen_server2:terminate/3</div><div> ancestors: [rabbit_amqqueue_sup,rabbit_sup,<0.4763.12>]</div><div> messages: []</div><div> links: [<0.4951.12>]</div><div> dictionary: [{{xtype_to_module,direct},rabbit_exchange_type_direct}]</div><div> trap_exit: true</div><div> status: running</div><div> heap_size: 1597</div><div> stack_size: 24</div><div> reductions: 1198</div><div> neighbours:</div><div><br></div><div>=SUPERVISOR REPORT==== 5-Nov-2013::12:34:51 ===</div><div> Supervisor: {local,rabbit_amqqueue_sup}</div><div> Context: child_terminated</div><div> Reason: {{badmatch,true},</div><div> [{rabbit_queue_index,init,2},</div><div> {rabbit_variable_queue,init,5},</div><div> {rabbit_mirror_queue_master,init,3},</div><div> {rabbit_amqqueue_process,declare,3},</div><div> {gen_server2,handle_msg,2},</div><div> {proc_lib,init_p_do_apply,3}]}</div><div> Offender: [{pid,<0.6024.14>},</div><div> {name,rabbit_amqqueue},</div><div> {mfargs,{rabbit_amqqueue_process,start_link,undefined}},</div><div> {restart_type,temporary},</div><div> {shutdown,4294967295},</div><div> {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> {</div><div> "arguments": {</div><div> "x-ha-policy": "all"</div><div> },</div><div> "auto_delete": false,</div><div> "durable": true,</div><div> "name": "test_queue",</div><div> "node": "rabbit@localhost",</div><div> "vhost": "/"</div><div> },</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 </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>