[ejabberd] Excessive number of open tcp connections

Badlop badlop at gmail.com
Fri May 2 19:26:43 MSD 2008

On Fri, May 2, 2008 at 5:18 PM, Sean Dilda <sean at duke.edu> wrote:
> Sean Dilda wrote:
>  > I'm running ejabberd 1.1.4
>  After looking into this more, I found that there was a client that had
>  an improper password set for a user.  It would log in about once a
>  minute, fail to login, keep the connection open, then keep going.  This
>  caused the number of connections to add up.  It seems to me that if
>  someone connects but doesn't log in after a set amount of time, that
>  ejabberd should disconnect them.  However, I don't see that happening.
>  Does anyone know if there's a way to set this up for ejabberd?  Or any
>  other way around this problem?

That feature is implemented in ejabberd 2.0.0:
  Negociation of a client connection and session creation should
enforce timeouts

If a client connects but doesn't login, ejabberd closes the connection
after 60 seconds.

More information about the ejabberd mailing list