[ejabberd] Ejabberd shared roster performance

Raoul Duke rduke496 at gmail.com
Fri Jan 5 20:18:05 MSK 2018

On Wed, Jan 3, 2018 at 2:04 AM, Gregory Makarov <gmakarov at gmail.com> wrote:

> Hi,
> I've done some load testing of Ejabberd and I see some strange results.
> Ejabberd 17.08 on two node cluster with 4CPU cores (2.60GHz) and 8GB of
> memory on each node.
> 5000 online users in 250 shared rosters (20 users per shared roster).
> "roster" table is empty. Users change their presence approximately each
> minute (Away -> DND -> Away).
> CPU usage on both nodes - approximately 350%.
> Why CPU usage is so high?

are you using the mnesia backend for shared roster or an SQL backend?  we
have had problems with performance in the SQL backend outline here:


basically a lot of linear looping.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20180105/1dbc07ba/attachment.html>

More information about the ejabberd mailing list