Project

General

Profile

What the difference between --watchdog settings and TCP_keepalive ?

Igor Khomenko
Added about 4 years ago

There is a way to detect broken connections by setting TCP_keepalive settings http://docs.tigase.org/tigase-server/5.2.0/admin_guide/html/#_tcp_keepalive

Also Tigase 5.2.1 supports the watchdog parameters http://docs.tigase.org/tigase-server/5.2.0/properties_guide/html/#watchdogDelay

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 about 4 years ago

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

    (1-1/1)