You can configure the number of threads the Okta AD agentA software agent is a lightweight program that runs as a service outside of Okta. It is typically installed behind a firewall and allows Okta to tunnel communication between an on-premises service and Okta's cloud service. Okta employs several agent types: Active Directory, LDAP, RADIUS, RSA, Active Directory Password Sync, and IWA. For example, users can install multiple Active Directory agents to ensure that the integration is robust and highly available across geographic locations. uses to poll the server for tasks. If you are running the Okta AD agent on a large server, you can increase the thread count as an alternative to using multiple Okta AD agents.
- Open Windows Services and stop the Okta AD agent service.
- From the terminal, locate the OktaAgentService.exe.instances.config file for each Okta AD agent server:
C:\Program Files (x86)\Okta\Okta AD Agent\OktaAgentService.exe.config
Open the 'OktaAgentService.exe.config' file in a text editor and then locate this entry:
<add key="PollingThreads" value="2" />
The default value is 2 and the maximum value is 10.
Save the file and then restart the Okta AD 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:
2017/07/21 06:06:22.167 Debug – TEST-SERVER-1(4) – PollingThreads: <thread number>