Increasing the number of threads the Okta AD Agent uses to poll the server for tasks allows the existing Okta AD Agent to process more requests without the need to install additional 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>