Change the number of Okta LDAP agent threads

You can configure the number of threads the Okta LDAP Agent uses to poll the server for tasks. If you are running the Okta LDAP Agent agent on a large server, you can increase the thread count as an alternative to using multiple Okta LDAP Agents.

  1. Open Windows Services and stop the Okta LDAP Agent service.
  2. From the terminal, locate the OktaLDAPAgent.conf file for each Okta LDAP Agent server:

    C:\Program Files\Okta\Okta LDAP Agent\conf\OktaLDAPAgent.conf

  3. Open the OktaLDAPAgent.conf file in a text editor and then locate this entry:

    pollingThreadCount = 2

    The default value is 2 and the maximum value is 10.

  4. Save the file and then restart the Okta LDAP Agent service. To verify that the setting has changed, open the agent.log file at startup and observe the startup information at the bottom of the file:

    [2019-02-27 12:27:52.154 ] [ main ] [ INFO ] [LdapAgent:182] - Started up <thread number> polling threads.