[Server-devel] ejabberd eating lots of CPU time - how to diagnose?

Daniel Drake dsd at laptop.org
Thu May 28 12:28:28 EDT 2009


2009/5/25 Daniel Drake <dsd at laptop.org>:
> Running XS-0.5.2 at a school. top shows that ejabberd ("beam.smp") is
> using lots of CPU time, in irregular spikes.

I'm now watching more carefully in a quieter environment and there is
a definite correlation between entries appearing in the logs (i.e.
users connecting or disconnecting) and CPU spikes. With only 7
connected users, a connection or disconnection causes CPU usage spikes
to more than 100% (dual core..) for a few seconds.

Daniel


More information about the Server-devel mailing list