[rabbitmq-discuss] 500 Internal server error while consuming with 2.1.0 management plugin

Simon MacMullen simon at rabbitmq.com
Fri Sep 17 10:51:05 BST 2010


Yes, absolutely. Thanks again for the clear report! Unfortunately a fix 
may be a little while coming as I'm getting distracted by 
non-management-plugin stuff for the next week or so...

Cheers, Simon

On 16/09/10 22:35, Stephen Day wrote:
> Your description is accurate, although I didn't have enough time to
> isolate exact chain of events. Were you able to reproduce this
> traceback?
>
> On Thu, Sep 16, 2010 at 2:50 AM, Simon MacMullen<simon at rabbitmq.com>  wrote:
>> Thanks for the bug report. Now I know where my automated tests are
>> inadequate :)
>>
>> If I'm correct this should happen a few seconds after a new client (not the
>> first one) comes on line, and it's transient. Does that match what you're
>> seeing?
>>
>> Cheers, Simon
>>
>> On 16/09/10 01:41, Stephen Day wrote:
>>>
>>> Here is the text from the management console web interface:
>>>
>>> Got response code 500 with body
>>>
>>> Internal Server Error
>>>
>>> The server encountered an error while processing this request:
>>> {error,{exit,{{function_clause,[{proplists,get_value,[rate,0,unknown]},
>>>                                  {rabbit_mgmt_db,gs_update_add,3},
>>>
>>> {rabbit_mgmt_db,'-gs_update/2-lc$^0/1-0-',2},
>>>
>>> {rabbit_mgmt_db,'-gs_update/2-lc$^0/1-0-',2},
>>>                                  {dict,update_bkt,4},
>>>                                  {dict,on_bucket,3},
>>>                                  {dict,update,4},
>>>                                  {lists,foldl,3}]},
>>>                {gen_server,call,[rabbit_mgmt_db,get_overview,infinity]}},
>>>               [{gen_server,call,3},
>>>                {rabbit_mgmt_wm_overview,to_json,2},
>>>                {webmachine_resource,resource_call,3},
>>>                {webmachine_resource,do,3},
>>>                {webmachine_decision_core,resource_call,1},
>>>                {webmachine_decision_core,decision,1},
>>>                {webmachine_decision_core,handle_request,2},
>>>                {webmachine_mochiweb,loop,1}]}}
>>>
>>> Here are the related error reports, from the logs:
>>>
>>> =ERROR REPORT==== 15-Sep-2010::17:38:15 ===
>>> ** Generic server rabbit_mgmt_db terminating
>>> ** Last message in was get_overview
>>> ** When Server state == {state,[{channel_exchange_stats,442426},
>>>                                  {channel_queue_exchange_stats,446523},
>>>                                  {channel_queue_stats,438329},
>>>                                  {channel_stats,434232},
>>>                                  {connection_stats,430135},
>>>                                  {queue_stats,426038}]}
>>> ** Reason for termination ==
>>> ** {function_clause,[{proplists,get_value,[rate,0,unknown]},
>>>                       {rabbit_mgmt_db,gs_update_add,3},
>>>                       {rabbit_mgmt_db,'-gs_update/2-lc$^0/1-0-',2},
>>>                       {rabbit_mgmt_db,'-gs_update/2-lc$^0/1-0-',2},
>>>                       {dict,update_bkt,4},
>>>                       {dict,on_bucket,3},
>>>                       {dict,update,4},
>>>                       {lists,foldl,3}]}
>>>
>>> =ERROR REPORT==== 15-Sep-2010::17:38:15 ===
>>> webmachine error: path="/api/overview"
>>> {error,{exit,{{function_clause,[{proplists,get_value,[rate,0,unknown]},
>>>                                  {rabbit_mgmt_db,gs_update_add,3},
>>>
>>> {rabbit_mgmt_db,'-gs_update/2-lc$^0/1-0-',2},
>>>
>>> {rabbit_mgmt_db,'-gs_update/2-lc$^0/1-0-',2},
>>>                                  {dict,update_bkt,4},
>>>                                  {dict,on_bucket,3},
>>>                                  {dict,update,4},
>>>                                  {lists,foldl,3}]},
>>>                {gen_server,call,[rabbit_mgmt_db,get_overview,infinity]}},
>>>               [{gen_server,call,3},
>>>                {rabbit_mgmt_wm_overview,to_json,2},
>>>                {webmachine_resource,resource_call,3},
>>>                {webmachine_resource,do,3},
>>>                {webmachine_decision_core,resource_call,1},
>>>                {webmachine_decision_core,decision,1},
>>>                {webmachine_decision_core,handle_request,2},
>>>                {webmachine_mochiweb,loop,1}]}}
>>> _______________________________________________
>>> rabbitmq-discuss mailing list
>>> rabbitmq-discuss at lists.rabbitmq.com
>>> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>>
>>
>> --
>> Simon MacMullen
>> Staff Engineer, RabbitMQ
>> SpringSource, a division of VMware
>>
>> _______________________________________________
>> rabbitmq-discuss mailing list
>> rabbitmq-discuss at lists.rabbitmq.com
>> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>>


-- 
Simon MacMullen
Staff Engineer, RabbitMQ
SpringSource, a division of VMware



More information about the rabbitmq-discuss mailing list