Hello,
after a 4 nodes Riak installation running on Ubuntu 12.04, i wanted to check
the stats with :
curl -H "Accept: text/plain" http://127.0.0.1:8091/stats
I got the following trace :

<html><head><title>500 Internal Server Error</title></head><body>
Internal Server Error
The server encountered an error while processing this
request:<br><pre>{error,
    {error,function_clause,
        [{proplists,delete,
             [disk,
              {error,
                  {badarg,
                      [{erlang,system_info,[global_heaps_size],[]},
                       {riak_kv_stat,system_stats,0,
                           [{file,"src/riak_kv_stat.erl"},{line,421}]},
                       {riak_kv_stat,produce_stats,0,
                           [{file,"src/riak_kv_stat.erl"},{line,320}]},
                       {timer,tc,3,[{file,"timer.erl"},{line,194}]},
                       {folsom_metrics,histogram_timed_update,4,
                           [{file,"src/folsom_metrics.erl"},{line,163}]},
                       {riak_core_stat_cache,'-do_get_stats/2-fun-0-',4,
                           [{file,"src/riak_core_stat_cache.erl"},
                            {line,183}]}]}}],
             [{file,"proplists.erl"},{line,362}]},
         {riak_kv_wm_stats,get_stats,0,
             [{file,"src/riak_kv_wm_stats.erl"},{line,88}]},
         {riak_kv_wm_stats,produce_body,2,
             [{file,"src/riak_kv_wm_stats.erl"},{line,77}]},
         {riak_kv_wm_stats,pretty_print,2,
             [{file,"src/riak_kv_wm_stats.erl"},{line,84}]},
         {webmachine_resource,resource_call,3,
             [{file,"src/webmachine_resource.erl"},{line,169}]},
         {webmachine_resource,do,3,
             [{file,"src/webmachine_resource.erl"},{line,128}]},
         {webmachine_decision_core,resource_call,1,
             [{file,"src/webmachine_decision_core.erl"},{line,48}]},
         {webmachine_decision_core,decision,1,
            
[{file,"src/webmachine_decision_core.erl"},{line,532}]}]}}</pre><P><HR><ADDRESS>mochiweb+webmachine
web
server</ADDRESS></body></html>emmanuel@emmanuel-VirtualBox:~/riak-1.2.0/dev/dev1

It may be obvious for you but i'am stuck so thank you in advance if you can
help me.




--
View this message in context: 
http://riak-users.197444.n3.nabble.com/stats-tp4025373.html
Sent from the Riak Users mailing list archive at Nabble.com.

_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to