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

Daniel Drake dsd at laptop.org
Thu May 28 15:38:22 EDT 2009


2009/5/28 Daniel Drake <dsd at laptop.org>:
> 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.

And I'm not the only person to notice the overload, ejabberd is aware too:

=ERROR REPORT==== 2009-05-28 15:36:36 ===
Mnesia(ejabberd at schoolserver): ** WARNING ** Mnesia is overloaded: {dump_log,

write_threshold}

This appears frequently in the logs.


More information about the Server-devel mailing list