[ejabberd] With SMACK, ejabberd closed connection error on client side

Holger Weiß holger at zedat.fu-berlin.de
Thu Sep 24 01:18:10 MSK 2015


* Gaurav Jain <monkeyfdude at gmail.com> [2015-09-23 14:31]:
> I am now looking whether to run server with mod_ping or not. Thought?

That's usually a good idea, as it makes sure it won't take the server
too long to detect dead connections.  I use the following configuration:

  mod_ping:
    send_pings: true
    ping_interval: 900
    timeout_action: kill

That is, I use a ping interval of 15 minutes.  The current Smack
maintainer recommends 30 minutes:

  http://stackoverflow.com/a/22118001

Holger


More information about the ejabberd mailing list