MAX_CONNECTIONS

This option limits the maximum number of connections with vendor daemon.

MAX_CONNECTIONS Terms

Term

Description

num_conn

Connection limit for the vendor daemon. The range is (31 - 10,00,000). The default value is 10,00,000 (if not specified).

On non-Windows (POSIX-compliant) platforms, the vendor daemon will consider the minimum value out of the following and (systemLimit - certainReserve) will be used as the limit:

'getrlimit()' call will be made once at vendor daemon startup to calculate the system limit for the number of open file descriptors
the value set for 'MAX_CONNECTIONS'.

Once connection limit has reached, the vendor daemon disconnects further connections with error code as
-237(LM_VD_MAX_CLIENTS_REACHED). Vendor daemon holds buffer of 30 connections for interaction with important utilities (for example: lmreread, lmstat), in case connection limit is reaching towards threshold.

Important:The older clients (version < 11.16.3) may receive error code as -140(LM_BADCOMMAND) while interacting with vendor daemon and MAX_CONNECTIONS limit is already reached.