Project

General

Profile

Tigase doesn't detect client offline when client's network broken

话语 和
Added almost 4 years ago

Tigase server is installed in ubuntu system of vmware.I set ubuntu system tcp_keepalive file /etc/sysctl.conf below:

net.ipv4.tcp_keepalive_time=60

net.ipv4.tcp_keepalive_probes=3

net.ipv4.tcp_keepalive_intvl=10

and tigase init.properties not configure watchdog,I broken client's network,after 90s,tigase detect client offline.

but I remain ubuntu system tcp_keepalive configure,I set watchdog in init.properties:

c2s/watchdog_delay[L]=10000

c2s/watchdog_timeout[L]=20000

c2s/watchdog_ping_type[S]=whitespace

I broken client's network,after about 15min,tigase detect client offline.

It looks like watchdog didn't work,this is why?


Replies (3)

Added by Wojciech Kapcia TigaseTeam almost 4 years ago

Are your clients connecting over regular socket connection on port 5222?

Added by 话语 和 almost 4 years ago

yes!

Added by Wojciech Kapcia TigaseTeam almost 4 years ago

Do you see watchdog entries in the logs?

    (1-3/3)