[DaemonCommunication] Section

In the [DaemonCommunication] section, settings that configure interaction between NSS Daemon and Dr.Web Daemon are specified.

Parameter

Description

[DaemonCommunication]

Address = {weighted addresses list}

Sockets used by NSS Daemon for interaction with Dr.Web Daemon. At least one valid address must be specified.

Addresses are specified in the following format: ADDRESS WEIGHT, where ADDRESS is a socket address specified in the standard format (UNIX or TCP socket), and WEIGHT is an optional numeric value between 0 and 100.

Weight determines a relative work load on a certain host in the network. The greater the value is specified, the greater the load on the server is. If addresses have the same weight, they are considered equal and receive the same number of requests.

If 0 is set for an address, it is considered a backup address and it receives requests only if transmission to other addresses with weights greater than 0 failed.

When assigning a weight value, consider resources available on the corresponding server.

Examples:

In the following example, only the path to a PID file is specified:

Address = pid:/var/drweb/run/drwebd.pid

In the following example, multiple addresses and their weights are specified:

Address = pid:/var/drweb/run/drwebd.pid 10,
\inet:3000@srv2.example.com 5

Default value:

Address = pid:/var/drweb/run/drwebd.pid 1

Timeout = {time}

Maximum time to wait for Dr.Web Daemon to execute a command.

If the value is set to 0, the wait time is not limited.

Default value:

Timeout = 2m