Riak 1.3.1 high swap usage

Sean Cribbs sean at basho.com
Thu Feb 19 12:37:07 EST 2015


Daniel,

Our tuning guides specifically recommend disabling swap. If your machine is
so memory-starved that it needs to use swap during normal Riak operation,
having it on is only going to make things worse.

http://docs.basho.com/riak/latest/ops/tuning/linux/#Storage-and-File-System-Tuning

On Thu, Feb 19, 2015 at 11:29 AM, Daniel Iwan <iwan.daniel at gmail.com> wrote:

> We are using levelDB as backend without any tuning.
> Also we are aware that performance may suffer due to potentially storing
> some of the copies (n=3) twice on the server. We are not so much concerned
> about latencies caused by that.
> What is worrying though is almost unbounded growth of swap used, which
> essentially filled up our system disk.
> Probably our Riak instances require some tuning but I would like to know
> first why we need to tune it e.g. AAE consumes large swap.
>
> Regarding failure  scenarios. We've seen OS' oom-killer nuking beam.smp and
> also our process due to the failure of memory allocation. So far we haven't
> experienced situation where killing one node would cause cascading failures
> of the nodes.
>
> We were slightly reluctant to upgrade to 1.4 due to some AAE issues
> reported
> on the mailing list.
> I was under impression 1.4 may consume even more memory with AAE but I may
> be totally wrong here.
>
> Daniel
>
>
>
>
>
>
>
> --
> View this message in context:
> http://riak-users.197444.n3.nabble.com/Riak-1-3-1-high-swap-usage-tp4032649p4032662.html
> Sent from the Riak Users mailing list archive at Nabble.com.
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>



-- 
Sean Cribbs <sean at basho.com>
Sr. Software Engineer
Basho Technologies, Inc.
http://basho.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20150219/6cf0a77c/attachment-0002.html>


More information about the riak-users mailing list