Chapter 7. Setting the Number of Directory Server Threads
addoperations), new incoming connections are queued until a free thread can process the request.
7.1. Enabling Automatic Thread Tuning
- Enable auto-setting the number of threads:
# ldapmodify -D "cn=Directory Manager" -W -x dn: cn=config changetype: modify replace: nsslapd-threadnumber nsslapd-threadnumber: -1With this setting, Directory Server will use the following optimized number of threads:Number of CPU ThreadsNumber of Directory Server Threads116216424832164832646496128192256384512512[a]1024512 [a]2048512 [a][a] The recommended maximum number of threads is applied.
NoteIf you enabled the automatic setting, the
nsslapd-threadnumberparameter shows the calculated number of threads while Directory Server is running.
- Restart the Directory Server instance:
# systemctl start dirsrv@instance_name