2.2 CPU usage

Magnus Kessler mkessler at basho.com
Sat Mar 11 04:59:59 EST 2017

On 6 March 2017 at 11:24, Alexander Popov <mogadanez at gmail.com> wrote:

> Did Upgrade  production cluster to  2.2.0
> looks that it eat more CPU,
> in idle time 10-30%  always( on 2.1.4 was  up to 10%  with same load )
> in Peaks  it takes up to 100% ( on 2.1.4 was  peaks was up to 75%   )

Hi Alexander,

There have been significant changes in Riak-2.2 regarding the Active
Anti-Entropy (AAE) implementation. Please see the upgrading documentation
[0] for more details. When you first upgrade to Riak-2.2, all AAE trees
need to be rebuilt and it may be that the additional CPU load is caused by
this process. Depending on your AAE settings, and data volume this may take
a few days to complete. You can monitor progress with the 'riak-admin
aae-status' command.

I would also recommend to check that there are no other 'beam.smp'
processes running on your system. We have observed elevated CPU load when
the beam process created by running 'riak attach' gets detached from it's
controlling TTY. If you find additional 'beam.smp' processes that are not
otherwise accounted for, it is safe to kill these.

Let us know if this answers your question, and if after a few days the CPU
load returned to normal levels.

Kind Regards,


[0]: http://docs.basho.com/riak/kv/2.2.0/setup/upgrading/version/

Magnus Kessler
Client Services Engineer
Basho Technologies Limited

Registered Office - 8 Lincoln’s Inn Fields London WC2A 3BP Reg 07970431
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20170311/61bc8210/attachment-0002.html>

More information about the riak-users mailing list