Chapter 12. Tuning server connection management
The nsslapd-numlisteners attribute specifies the number of listener threads the Directory Server can use to monitor established connections. You can improve the response times when the server experiences a large number of client connection by increasing the attribute value.
12.1. Managing the number of connection listener threads by using the command line Copy linkLink copied to clipboard!
You can manage the number of connection listener threads by using the command line. The default value is 1.
Procedure
List the number of connection listener threads:
dsconf -D "cn=Directory Manager" ldap://server.example.com config get nsslapd-numlisteners
# dsconf -D "cn=Directory Manager" ldap://server.example.com config get nsslapd-numlistenersCopy to Clipboard Copied! Toggle word wrap Toggle overflow Modify the number of connection listener threads:
dsconf -D "cn=Directory Manager" ldap://server.example.com config replace nsslapd-numlisteners=4
# dsconf -D "cn=Directory Manager" ldap://server.example.com config replace nsslapd-numlisteners=4Copy to Clipboard Copied! Toggle word wrap Toggle overflow Restart the instance:
dsctl instance_name restart
# dsctl instance_name restartCopy to Clipboard Copied! Toggle word wrap Toggle overflow