EXPECTED_CLIENTS(4)

NAME
epected_clients - approximate total number of clients mountpoints

SYNOPSIS
lctl set_param expected_clients

  PROPERTIES

Perms
    644 | -rw-r--r--.

Scope
    Global

Config
    always present

Initial default
    expected_clients=1

DESCRIPTION
expected_clients stores the approximate number of client mounts that a server may have at one time. Knowing this value during startup allows services to configure various tables, tunable values, etc. appropriately for the system once it is fully started. This avoids code having to make inaccurate guesses as to future system size.

The expected_clients value need only be an order-of-magnitude estimate for the client count. It will automatically be updated on each server if the actual number of clients mounted at any one time exceed the set value, so it typically does not need to be explicitly set.

MODULES
This parameter is in the following modules:
    expected_clients

EXAMPLES
Configure the system to expect about 1000 clients to connect:
    lctl set_param -P expected_clients=1000

AVAILABILITY
expected_clients is part of the lustre(7) filesystem package since release 2.18.0.

SEE ALSO
at_max(4), conns_per_peer(4)