4.2. Tuning Directory Server Resource Settings

You can configure several parameters to manage and improve the amount of resources Directory Server uses.

4.2.1. Updating Directory Server Resource Settings Using the Command Line

To update the server resource settings using the command line:
  1. Update the performance settings:
     dsconf -D "cn=Directory Manager" ldap://server.example.com config replace parameter_name=setting
    You can set the following parameters:
    • nsslapd-threadnumber: Sets the number of worker threads.
    • nsslapd-maxdescriptors: Sets the maximum number of file descriptors.
    • nsslapd-timelimit: Sets the search time limit.
    • nsslapd-sizelimit: Sets the search size limit.
    • nsslapd-pagedsizelimit: Sets the paged search size limit.
    • nsslapd-idletimeout: Sets the idle connection timeout.
    • nsslapd-ioblocktimeout: Sets the input/output (I/O) block timeout.
    • nsslapd-ndn-cache-enabled: Enables or disables the normalized DN cache.
    • nsslapd-ndn-cache-max-size: Sets the normalized DN cache size, if nsslapd-ndn-cache-enabled is enabled.
    • nsslapd-outbound-ldap-io-timeout: Sets the outbound I/O timeout.
    • nsslapd-maxbersize: Sets the maximum Basic Encoding Rules (BER) size.
    • nsslapd-maxsasliosize: Sets the maximum Simple Authentication and Security Layer (SASL) I/O size.
    • nsslapd-listen-backlog-size: Sets the maximum number of sockets available to receive incoming connections.
    • nsslapd-max-filter-nest-level: Sets the maximum nested filter level.
    • nsslapd-ignore-virtual-attrs: Enables or disables virtual attribute lookups.
    • nsslapd-connection-nocanon: Enables or disables revers DNS lookups.
    • nsslapd-enable-turbo-mode: Enables or disables the turbo mode feature.
    For further details about these parameters, see their descriptions in the Red Hat Directory Server Configuration, Command, and File Reference..
  2. Restart the Directory Server instance:
    # dsctl instance_name restart

4.2.2. Updating Directory Server Resource Settings Using the Web Console

To update the server resource settings using the Web Console:
  1. Open the Directory Server user interface in the web console. For details, see Logging Into Directory Server Using the Web Console section in the Red Hat Directory Server Administration Guide.
  2. Select the instance.
  3. Open the Server Settings menu, and select Tuning & Limits.
  4. Update the settings. Optionally, click Show Advanced Settings to display all settings.
    To display a tooltip and the corresponding attribute name in the cn=config entry for a parameter, hover the mouse cursor over the setting. For further details, see the parameter description in the Red Hat Directory Server Configuration, Command, and File Reference..
  5. Click Save Configuration.
  6. Click the Actions button, and select Restart Instance.