[rabbitmq-discuss] Error during queue declare

Sylvain Brocard sbrocard.ext at miyowa.com
Mon Mar 7 09:34:00 GMT 2011


Hi,

I was playing around with RabbitMQ in cluster (3 nodes) and I got this error
below. I'm using the latest version (2.3.1). This error seems to have killed
my client connection to the node. When I got this error, I was trying to
test my client when one node is stopped. This seems to happen when i was
trying to declare a queue (non durable, not exclusive, not auto-delete). The
only way I've found to fix my issue was to restart the nodes one by one. Any
idea ?

=ERROR REPORT==== 4-Mar-2011::14:55:55 ===
** Generic server <0.7238.90> terminating
** Last message in was {init,false}
** When Server state ==
{q,{amqqueue,{resource,<<"/">>,queue,<<"fail.over">>},
                                     false,false,none,[],<0.7238.90>},
                           none,false,rabbit_variable_queue,undefined,
                           {[],[]},
                           {[],[]},
                           undefined,undefined,undefined,undefined,
                           {state,none,undefined},
                           {dict,0,16,16,8,80,48,
                                 {[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                                  [],[]},

{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                                   [],[]}}},
                           undefined,undefined}
** Reason for termination ==
** {bad_return_value,
       {error,
           {badarg,
               [{erlang,is_process_alive,[<14486.17603.0>]},
                {rabbit_amqqueue,'-internal_declare/2-fun-3-',2},
                {rabbit_misc,'-execute_mnesia_tx_with_tail/1-fun-0-',1},
                {mnesia_tm,apply_fun,3},
                {mnesia_tm,execute_transaction,5},
                {worker_pool_worker,handle_call,3},
                {gen_server2,handle_msg,2},
                {proc_lib,wake_up,3}]}}}

=ERROR REPORT==== 4-Mar-2011::14:55:55 ===
** Generic server <0.7237.90> terminating
** Last message in was {'$gen_cast',
                           {method,
                               {'queue.declare',0,<<"fail.over">>,false,
                                   false,false,false,false,[]},
                               none}}
** When Server state == {ch,running,1,<0.7234.90>,<0.7236.90>,undefined,
                            #Fun<rabbit_channel_sup.0.123274458>,none,
                            {sets,0,16,16,8,80,48,

 {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                                 []},
                                {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                                  [],[]}}},
                            1,
                            {[],[]},
                            {[],[]},
                            {user,<<"guest">>,true,
                                rabbit_auth_backend_internal,
                                {internal_user,<<"guest">>,

 <<1,91,202,31,107,169,107,11,120,174,233,
                                      122,50,219,120,164,33,32,240,166>>,
                                    true}},
                            <<"/">>,<<>>,
                            {dict,0,16,16,8,80,48,

 {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                                 []},
                                {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                                  [],[]}}},
                            {dict,0,16,16,8,80,48,

 {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                                 []},
                                {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                                  [],[]}}},
                            <0.7232.90>,
                            {state,none,undefined},
                            false,1,
                            {0,nil},
                            []}
** Reason for termination ==
** {{{bad_return_value,
         {error,
             {badarg,
                 [{erlang,is_process_alive,[<14486.17603.0>]},
                  {rabbit_amqqueue,'-internal_declare/2-fun-3-',2},
                  {rabbit_misc,'-execute_mnesia_tx_with_tail/1-fun-0-',1},
                  {mnesia_tm,apply_fun,3},
                  {mnesia_tm,execute_transaction,5},
                  {worker_pool_worker,handle_call,3},
                  {gen_server2,handle_msg,2},
                  {proc_lib,wake_up,3}]}}},
     {gen_server2,call,[<0.7238.90>,{init,false}]}},
    [{gen_server2,call,2},
     {rabbit_amqqueue,declare,5},
     {rabbit_channel,handle_method,3},
     {rabbit_channel,handle_cast,2},
     {gen_server2,handle_msg,2},
     {proc_lib,init_p,5}]}

=ERROR REPORT==== 4-Mar-2011::14:55:55 ===
connection <0.7234.90> (running), channel 1 - error:
{{{bad_return_value,
      {error,
          {badarg,
              [{erlang,is_process_alive,[<14486.17603.0>]},
               {rabbit_amqqueue,'-internal_declare/2-fun-3-',2},
               {rabbit_misc,'-execute_mnesia_tx_with_tail/1-fun-0-',1},
               {mnesia_tm,apply_fun,3},
               {mnesia_tm,execute_transaction,5},
               {worker_pool_worker,handle_call,3},
               {gen_server2,handle_msg,2},
               {proc_lib,wake_up,3}]}}},
  {gen_server2,call,[<0.7238.90>,{init,false}]}},
 [{gen_server2,call,2},
  {rabbit_amqqueue,declare,5},
  {rabbit_channel,handle_method,3},
  {rabbit_channel,handle_cast,2},
  {gen_server2,handle_msg,2},
  {proc_lib,init_p,5}]}

=WARNING REPORT==== 4-Mar-2011::14:55:55 ===
Non-AMQP exit reason '{{{bad_return_value,
                         {error,
                          {badarg,
                           [{erlang,is_process_alive,[<14486.17603.0>]},

 {rabbit_amqqueue,'-internal_declare/2-fun-3-',2},
                            {rabbit_misc,
                             '-execute_mnesia_tx_with_tail/1-fun-0-',1},
                            {mnesia_tm,apply_fun,3},
                            {mnesia_tm,execute_transaction,5},
                            {worker_pool_worker,handle_call,3},
                            {gen_server2,handle_msg,2},
                            {proc_lib,wake_up,3}]}}},
                        {gen_server2,call,[<0.7238.90>,{init,false}]}},
                       [{gen_server2,call,2},
                        {rabbit_amqqueue,declare,5},
                        {rabbit_channel,handle_method,3},
                        {rabbit_channel,handle_cast,2},
                        {gen_server2,handle_msg,2},
                        {proc_lib,init_p,5}]}'


Thanks for reading me !

Sylvain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20110307/0d1284e3/attachment.htm>


More information about the rabbitmq-discuss mailing list