4.2. Tuning Directory Server Resource Settings

The server's performance can be managed and improved by limiting the amount of resources the server uses to process client search requests, which is done by defining four settings:
  • The maximum number of entries the server returns to the client in response to a search operation (size limit attribute).
  • The maximum amount of real time (in seconds) for the server to spend performing a search request (time limit attribute).
  • The time (in seconds) during which the server maintains an idle connection before terminating it (idle timeout attribute).
  • The maximum number of file descriptors available to the Directory Server (max number of file descriptors attribute).
To configure Directory Server to optimize performance:
  1. In the Directory Server Console, select the Configuration tab, and then select the topmost entry in the navigation tree in the left pane.
  2. Select the Performance tab in the right pane.
  3. Set the maximum number of entries the server will return to the client in response to a search operation by entering a new value in the Size Limit text box.
    To keep from setting a limit, type -1 in this text box.
  4. Enter the maximum amount of real time (in seconds) for the server to spend performing a search request in the Time Limit text box.
    To keep from setting a limit, type -1 in this text box.
  5. Enter the time (in seconds) for the server to maintain an idle connection before terminating it in the Idle Timeout text box.
    To keep from setting a limit, type zero (0) in this text box.
  6. Set the maximum number of file descriptors available to the Directory Server in the Max Number of File Descriptors text box. For more information on this parameter, see the Red Hat Directory Server Configuration, Command, and File Reference.