7.2. Manually Setting the Number of Thread
7.2. Manually Setting the Number of Thread In certain situations, it can be necessary to manually set a fixed number of Directory Server threads instead of using the automatic thread tuning. Note If the number of hardware threads changes, for example, because you increased the CPU cores of the virtual machine that runs the Directory Server instance, you must manually update the number of threads. For details about using the optimized and automatic setting, see Section 7.1, "Automatic Thread Tuning" . 7.2.1. Manually Setting the Number of Threads Using the Command Line To manually set the number of threads using the command line: Set the number of threads: This command sets the number of threads to 64 . Restart the Directory Server instance: 7.2.2. Manually Setting the Number of Threads Using the Web Console To manually set the number of threads using the Web Console: 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 . Select the instance. Open the Server Settings menu, and select Tuning & Limits . Set the Number Of Worker Threads field to the number of threads. Click Save . Click the Actions button, and select Restart Instance .
dsconf -D "cn=Directory Manager" ldap://server.example.com config replace nsslapd-threadnumber=" 64 " dsctl instance_name restart