The Service Watchdog
Fusion SMB includes a service watchdog that monitors the health of critical services (processes or threads), such as the authentication service, SMB server service, etc., using a keep-alive request–response mechanism.
If the watchdog detects that a service has failed to respond to a keep-alive request, it terminates all remaining services.
Configuring the Watchdog
The watchdog is configured using the following parameters:
- Configuration file's
[global]section:watchdog_interval tsmb-cfg global update: Not supportedtsmb-cfg global addandtsmb-cfg global del: Not supported
Value Type: integer
Value Format: <seconds>
<seconds> specifies the time interval (in seconds) between the watchdog's keep-alive requests. The value must be a positive integer.
Default Value: 10
- Configuration file's
[global]section:watchdog_timeout tsmb-cfg global update: Not supportedtsmb-cfg global addandtsmb-cfg global del: Not supported
Value Type: integer
Value Format: <seconds>
<seconds> specifies the interval (in seconds) to wait for responses from the various subsystems of the service. The value must be a positive integer. A higher value avoids loading the system with constant keep-alive messages. The default value fits most use cases, and adjustments are usually unnecessary.
Default Value: 200
Configuring the Using the Configuration File
In the global section of the configuration file adjust the watchdog_interval and watchdog_timeout parameters as needed.
For example:
watchdog_interval = 10
watchdog_timeout = 200