Hi Gareth,

I'm not aware of any mechanism that turns the stats url off for any reason.
How often are you pinging the stats url? Do the timeouts correlate with any
other event on the system (higher load, cron job, etc.)?

Thanks,
Dan

Daniel Reverri
Developer Advocate
Basho Technologies, Inc.
d...@basho.com


On Thu, Jun 17, 2010 at 8:40 PM, Gareth Stokes
<gar...@betechnology.com.au>wrote:

> hey guys,
>
> so i have a cluster of 4 physical machines with a load balancer sitting in
> front to handle requests going into riak.
> i thought it would be a good idea (not anymore) to use the /stats url to
> ping the machines the cluster for their health. this is what i've noticed in
> the logs every few days or so
>
> =ERROR REPORT==== 16-Jun-2010::03:48:37 ===
> webmachine error: path="/stats"
> {error,{exit,{timeout,{gen_server2,call,[riak_kv_stat,get_stats]}},
>              [{gen_server2,call,2},
>               {riak_kv_wm_stats,get_stats,0},
>               {riak_kv_wm_stats,produce_body,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}]}}
>
> it lasts anywhere between 5 - 40 minutes.
> what im thinking is that a riak machine will enter "maintenance" mode every
> now and then, when it does it turns the /stats url off.
>
>  am i correct in thinking this, or should i be worried?
>
> regards,
> gareth stokes
>
> _______________________________________________
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to