[ejabberd] high memory consumption

Stefan Strigler steve at zeank.in-berlin.de
Wed May 4 16:59:18 MSD 2011


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



More information about the ejabberd mailing list