8000 Priority queue process terminates when emitting stats immediately after initialisation · Issue #488 · rabbitmq/rabbitmq-server · GitHub
[go: up one dir, main page]

Skip to content
Priority queue process terminates when emitting stats immediately after initialisation #488
Closed
@michaelklishin

Description

@michaelklishin

Originally reported for STOMP.

From the log:

=ERROR REPORT==== 12-Dec-2015::12:57:15 ===
Restarting crashed queue 'bunny.tests.queues.with-arguments.priority' in vhost 'bunny_testbed'.

=ERROR REPORT==== 12-Dec-2015::12:57:15 ===
** Generic server <0.1905.0> terminating
** Last message in was {'$gen_cast',init}
** When Server state == {q,{amqqueue,
                               {resource,<<"bunny_testbed">>,queue,
                                   <<"bunny.tests.queues.with-arguments.priority">>},
                               false,false,<0.1891.0>,
                               [{<<"x-max-priority">>,long,1000}],
                               <0.1905.0>,[],[],[],undefined,[],[],live},
                           none,false,undefined,undefined,
                           {state,
                               {queue,[],[],0},
                               {active,-576459719826232,1.0}},
                           undefined,undefined,undefined,undefined,
                           {state,fine,5000,undefined},
                           {0,nil},
                           undefined,undefined,undefined,
                           {state,
                               {dict,0,16,16,8,80,48,
                                   {[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                                    [],[]},
                                   {{[],[],[],[],[],[],[],[],[],[],[],[],[],
                                     [],[],[]}}},
                               delegate},
                           undefined,undefined,undefined,undefined,0,running}
** Reason for termination ==
** {default,default}

=ERROR REPORT==== 12-Dec-2015::12:57:15 ===
** Generic server <0.1899.0> terminating
** Last message in was {'$gen_cast',
                           {method,
                               {'queue.declare',0,
                                   <<"bunny.tests.queues.with-arguments.priority">>,
                                   true,false,true,false,false,
                                   [{<<"x-max-priority">>,long,1000}]},
                               none,noflow}}
** When Server state == {ch,running,rabbit_framing_amqp_0_9_1,1,<0.1891.0>,
                            <0.1897.0>,<0.1891.0>,
                            <<"127.0.0.1:52192 -> 127.0.0.1:5672">>,
                            {lstate,<0.1898.0>,false},
                            none,1,
                            {[],[]},
                            {user,<<"bunny_gem">>,[],
                                [{rabbit_auth_backend_internal,none}]},
                            <<"bunny_testbed">>,
                            <<"bunny.tests.queues.with-arguments.priority">>,
                            {dict,0,16,16,8,80,48,
                                {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                                 []},
                                {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                                  [],[]}}},
                            {state,
                                {dict,0,16,16,8,80,48,
                                    {[],[],[],[],[],[],[],[],[],[],[],[],[],
                                     [],[],[]},
                                    {{[],[],[],[],[],[],[],[],[],[],[],[],[],
                                      [],[],[]}}},
                                erlang},
                            {dict,0,16,16,8,80,48,
                                {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                                 []},
                                {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                                  [],[]}}},
                            {dict,0,16,16,8,80,48,
                                {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                                 []},
                                {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                                  [],[]}}},
                            {set,0,16,16,8,80,48,
                                {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                                 []},
                                {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                                  [],[]}}},
                            <0.1892.0>,
                            {state,fine,5000,#Ref<0.0.1.20453>},
                            true,2,
                            {{0,nil},{0,nil}},
                            [],
                            {{0,nil},{0,nil}},
                            [{<<"publisher_confirms">>,bool,true},
                             {<<"consumer_cancel_notify">>,bool,true},
                             {<<"exchange_exchange_bindings">>,bool,true},
                             {<<"basic.nack">>,bool,true},
                             {<<"connection.blocked">>,bool,true},
                             {<<"authentication_failure_close">>,bool,true}],
                            none,0,none,flow,[]}
** Reason for termination ==
** {{{default,default},{gen_server2,call,[<0.1905.0>,stat,infinity]}},
    [{gen_server2,call,3,[{file,"src/gen_server2.erl"},{line,340}]},
     {rabbit_channel,'-handle_method/3-fun-8-',2,
                     [{file,"src/rabbit_channel.erl"},{line,1367}]},
     {rabbit_misc,with_exit_handler,2,
                  [{file,"src/rabbit_misc.erl"},{line,486}]},
     {rabbit_channel,handle_method,3,
                     [{file,"src/rabbit_channel.erl"},{line,1366}]},
     {rabbit_channel,handle_cast,2,
                     [{file,"src/rabbit_channel.erl"},{line,454}]},
     {gen_server2,handle_msg,2,[{file,"src/gen_server2.erl"},{line,1049}]},
     {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}

=ERROR REPORT==== 12-Dec-2015::12:57:15 ===
ERROR: "Error on AMQP connection ~p (~s, vhost: '~s', user: '~s', state: ~p), channel ~p:~n~s~n" - [<0.1891.0>,
                                                                                                    <<"127.0.0.1:52192 -> 127.0.0.1:5672">>,
                                                                                                    <<"bunny_testbed">>,
                                                                                                    <<"bunny_gem">>,
                                                                                                    running,
                                                                                                    1,
                                                                                                    {{{default,
                                                                                                       default},
                                                                                                      {gen_server2,
                                                                                                       call,
                                                                                                       [<0.1905.0>,
                                                                                                        stat,
                                                                                                        infinity]}},
                                                                                                     [{gen_server2,
                                                                                                       call,
                                                                                                       3,
                                                                                                       [{file,
                                                                                                         "src/gen_server2.erl"},
                                                                                                        {line,
                                                                                                         340}]},
                                                                                                      {rabbit_channel,
                                                                                                       '-handle_method/3-fun-8-',
                                                                                                       2,
                                                                                                       [{file,
                                                                                                         "src/rabbit_channel.erl"},
                                                                                                        {line,
                                                                                                         1367}]},
                                                                                                      {rabbit_misc,
                                                                                                       with_exit_handler,
                                                                                                       2,
                                                                                                       [{file,
                                                                                                         "src/rabbit_misc.erl"},
                                                                                                        {line,
                                                                                                         486}]},
                                                                                                      {rabbit_channel,
                                                                                                       handle_method,
                                                                                                       3,
                                                                                                       [{file,
                                                                                                         "src/rabbit_channel.erl"},
                                                                                                        {line,
                                                                                                         1366}]},
                                                                                                      {rabbit_channel,
                                                                                                       handle_cast,
                                                                                                       2,
                                                                                                       [{file,
                                                                                                         "src/rabbit_channel.erl"},
                                                                                                        {line,
                                                                                                         454}]},
                                                                                                      {gen_server2,
                                                                                                       handle_msg,
                                                                                                       2,
                                                                                                       [{file,
                                                                                                         "src/gen_server2.erl"},
                                                                                                        {line,
                                                                                                         1049}]},
                                                                                                      {proc_lib,
                                                                                                       init_p_do_apply,
                                                                                                       3,
                                                                                                       [{file,
                                                                                                         "proc_lib.erl"},
                                                                                                        {line,
                                                                                                         240}]}]}]

=WARNING REPORT==== 12-Dec-2015::12:57:15 ===
Non-AMQP exit reason '{{{default,default},
                        {gen_server2,call,[<0.1905.0>,stat,infinity]}},
                       [{gen_server2,call,3,
                            [{file,"src/gen_server2.erl"},{line,340}]},
                        {rabbit_channel,'-handle_method/3-fun-8-',2,
                            [{file,"src/rabbit_channel.erl"},{line,1367}]},
                        {rabbit_misc,with_exit_handler,2,
                            [{file,"src/rabbit_misc.erl"},{line,486}]},
                        {rabbit_channel,handle_method,3,
                            [{file,"src/rabbit_channel.erl"},{line,1366}]},
                        {rabbit_channel,handle_cast,2,
                            [{file,"src/rabbit_channel.erl"},{line,454}]},
                        {gen_server2,handle_msg,2,
                            [{file,"src/gen_server2.erl"},{line,1049}]},
                        {proc_lib,init_p_do_apply,3,
                            [{file,"proc_lib.erl"},{line,240}]}]}'

=ERROR REPORT==== 12-Dec-2015::12:57:15 ===
Restarting crashed queue 'bunny.tests.queues.with-arguments.priority' in vhost 'bunny_testbed'.

=INFO REPORT==== 12-Dec-2015::12:57:15 ===
closing AMQP connection <0.1891.0> (127.0.0.1:52192 -> 127.0.0.1:5672)

=ERROR REPORT==== 12-Dec-2015::12:57:15 ===
** Generic server <0.1908.0> terminating
** Last message in was {'$gen_cast',init}
** When Server state == {q,{amqqueue,
                               {resource,<<"bunny_testbed">>,queue,
                                   <<"bunny.tests.queues.with-arguments.priority">>},
                               false,false,<0.1891.0>,
                               [{<<"x-max-priority">>,long,1000}],
                               <0.1908.0>,[],[],[],undefined,[],[],live},
                           none,false,undefined,undefined,
                           {state,
                               {queue,[],[],0},
                               {active,-576459719578153,1.0}},
                           undefined,undefined,undefined,undefined,
                           {state,fine,5000,undefined},
                           {0,nil},
                           undefined,undefined,undefined,
                           {state,
                               {dict,0,16,16,8,80,48,
                                   {[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                                    [],[]},
                                   {{[],[],[],[],[],[],[],[],[],[],[],[],[],
                                     [],[],[]}}},
                               delegate},
                           undefined,undefined,undefined,undefined,0,running}
** Reason for termination ==
** {default,default}

=ERROR REPORT==== 12-Dec-2015::12:57:15 ===
Restarting crashed queue 'bunny.tests.queues.with-arguments.priority' in vhost 'bunny_testbed'.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0