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

Daniel Drake dsd at laptop.org
Mon May 25 11:05:35 EDT 2009


2009/5/25 Martin Langhoff <martin.langhoff at gmail.com>:
> Strange.
>
>  - What does `ejabberdctl stats registeredusers ` say?
>  - What does `ejabberdctl registered-users` say?

registered-users is not a valid option for ejabberdctl. "stats
registeredusers" says 419.

> My guess is that some users disconnected "abnormally" (from ejabberd's
> PoV) and ejabberd is busy trying to tell them things. For some
> reason,such connections don't time out, or timeout after ridiculously
> long periods.
>
> If that's the cause, I haven't had a chance to investigate in depth,
> but it'd be good to set ejabberd with a shortish timeout.

Any pointers how we could do that?

Daniel


More information about the Server-devel mailing list