[ejabberd] high memory consumption

Pablo Platt pablo.platt at yahoo.com
Wed May 4 17:03:39 MSD 2011


I do see a steady increase.

Is it safe to temporarily fix it with:
mnesia_recovery:allow_garb(),
mnesia_recovery:start_garb().


As suggested in http://erlang.org/pipermail/erlang-questions/2008-July/036555.html



________________________________
From: Stefan Strigler <steve at zeank.in-berlin.de>
To: Pablo Platt <pablo.platt at yahoo.com>; ejabberd at jabber.ru
Sent: Wednesday, May 4, 2011 3:59 PM
Subject: Re: [ejabberd] high memory consumption

Hi,

as the post suggests you have to run the given command subsequently and watch the results. If you see a steady increase in numbers as time goes by you're probably affected.

Rgds, Steve

Am 04.05.2011 um 14:52 schrieb Pablo Platt:

> Hi
> 
> I have ~30K registered users with ~300 online users using BOSH.
> Erlang is using more than 900MB on 512MB VPS.
> 
> Do I suffer from the mnesia bug? http://www.facebook.com/note.php?note_id=128220305576
> Do I need to upgrade ejabberd and erlang?
> 
> Info:
> 
> OS is ubuntu Jaunty.
> ejabberd version 2.1.1
> erlang:system_info(otp_release). "R12B"
> erlang:system_info(version). = "5.6.5"
> 
> > erlang:memory().      
> [{total,926286952},
>  {processes,50888144},
>  {processes_used,50331488},
>  {system,875398808},
>  {atom,955873},
>  {atom_used,952195},
>  {binary,339024},
>  {code,12274837},
>  {ets,842415560}]
> 
> lists:foldl(fun(Tab, Acc) -> ets:info(Tab, memory) * 8 + Acc end, 0, ets:all()).
> 828511088
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20110504/e183a8e8/attachment.html>


More information about the ejabberd mailing list