Re: stale connections, keepalive?

2016-08-29 Thread Greg Troxel
Tomasz Sterna writes: > See io.keepalive [1][2] options. > Setting this up will flush single whitespace character over the wire > when the connection dangs idle. This triggers the TCP layer connection > validation. I set this up as: check every 300 close connections idle

Re: stale connections, keepalive?

2016-08-29 Thread Tomasz Sterna
W dniu 29.08.2016, pon o godzinie 12∶41 -0400, użytkownik Greg Troxel napisał: > dropping idle connections from its NAT table without > > telling anyone, so later when mobile network closed a connection it > > silently dropped RST packets not knowing who to NAT them to. [...] > Are you saying that

Re: stale connections, keepalive?

2016-08-29 Thread Greg Troxel
Tomasz Sterna writes: > jabberd2 has support for application layer keepalives. > > See io.keepalive [1][2] options. > Setting this up will flush single whitespace character over the wire > when the connection dangs idle. This triggers the TCP layer connection > validation.

Re: stale connections, keepalive?

2016-08-29 Thread Greg Troxel
Christof Meerwald writes: > On Sun, Aug 28, 2016 at 02:13:34PM +0200, Tomasz Sterna wrote: >> W dniu 27.08.2016, sob o godzinie 14∶55 -0400, użytkownik Greg Troxel >> napisał: >> >   should jabberd2 force TCP keepalive on? >> I'm not sure whether it is possible. >> At least

Re: stale connections, keepalive?

2016-08-29 Thread Tomasz Sterna
W dniu 28.08.2016, nie o godzinie 22∶45 +0200, użytkownik Christof Meerwald napisał: > > I'm not sure [...] > > Are you sure? [...]  -- /o__ (_<^' One good turn deserves another.

Re: stale connections, keepalive?

2016-08-28 Thread Christof Meerwald
On Sun, Aug 28, 2016 at 02:13:34PM +0200, Tomasz Sterna wrote: > W dniu 27.08.2016, sob o godzinie 14∶55 -0400, użytkownik Greg Troxel > napisał: > >   should jabberd2 force TCP keepalive on? > I'm not sure whether it is possible. > At least on Linux it is a system-wide setting and requires root

Re: stale connections, keepalive?

2016-08-28 Thread Tomasz Sterna
W dniu 27.08.2016, sob o godzinie 14∶55 -0400, użytkownik Greg Troxel napisał: >   should jabberd2 force TCP keepalive on? I'm not sure whether it is possible. At least on Linux it is a system-wide setting and requires root to change. >   should c2s (and s2s probably, but less likely to be an