Show Table of Contents
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. For example, to set
64 threads:
- Set the number of threads:
# ldapmodify -D "cn=Directory Manager" -W -x dn: cn=config changetype: modify replace: nsslapd-threadnumber nsslapd-threadnumber: 64
- Restart the Directory Server instance:
# systemctl start dirsrv@instance_name
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 this setting. To use the optimized and automatic setting, see Section 7.1, “Enabling Automatic Thread Tuning”.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.