[Server-devel] Ejabberd CPU/RAM Spike -> Crashes

Martin Langhoff martin.langhoff at gmail.com
Thu Dec 17 07:16:53 EST 2009


On Thu, Dec 17, 2009 at 1:12 PM, Martin Langhoff
<martin.langhoff at gmail.com> wrote
> On Thu, Dec 17, 2009 at 11:35 AM, Devon Connolly <devcon at gmail.com> wrote:
>> XS Version: 0.6
>> 1 GB Physical Ram, 2GB Swap
>
> Ok - the RAM is on the low side for an XS but should handle 150 ok.
>
>> # ejabberdctl connected-users
> ...
> I counted 12 lines in the output of connected-users. That should not
> cause trouble.

Also - can you get your hands on ps_mem.py, and run it when the
machine is getting into trouble? I want to correlate the output of
ps_mem.py for ejabberd vs the number of connected users, run something
like this on a console

while true; do (echo `date -u `; vmstat; ps_mem.py | grep ejabberd;
ejabberdctl connected-users | wc-l) >> mylog ; sleep 60 ; done;

untested, may need tweaking to work properly. If you run it during the
day and also during the night, will be most interesting.

cheers,


m
-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff


More information about the Server-devel mailing list