What the difference between --watchdog settings and TCP_keepalive ?

Igor Khomenko
Added over 4 years ago

There is a way to detect broken connections by setting TCP_keepalive settings

Also Tigase 5.2.1 supports the watchdog parameters

For example --watchdog_ping_type=whitespace looks like does the same

Are there any differences between these 2 ways?

What is the best way to detect broken connections if let's say I would like to do it in 10 seconds?

Replies (1)

Added by Wojciech Kapcia TigaseTeam over 4 years ago

The first one is system level setting and applies to all applications; watchdog on the other hand is internal Tigase mechanism.