11/21/2022 05:27 AM
Hi
We have a use case where we want to increase the thread count for multithreaded WSRetry job. I can see in the properties file that the default setting is for 5.
Can you suggest upto what number we can increase the number of threads against the total number of jobs running.
11/21/2022 06:11 AM
11/21/2022 06:21 AM
Hi Srinivas,
Thanks for the above but I wanted to know if there is an optimum count which will ensure that other job threads are not impacted.
11/21/2022 06:33 AM - edited 11/21/2022 06:34 AM
Hello @Arushi_Sharma
Since wsthread count is dependent on a lot of things, it is not easy to say and would probably depend on your environment.
What is the number of average tasks created on each provisioning run ? How frequently do they run ?
How many tasks are created during the peak time of the day ?
How are your user/account imports scheduled, how much is the time taken for these imports ? Do they run concurrently with the provisioning ? etc
Let's say if you have org.quartz.threadPool.threadCount=20 and WSRETRY Thread Count in UI as 20 and WSRetry job is running and has spawned 20 threads and they are all under execution:
You will have to factor in these considerations when you set your values.
Hope this helps!
Thanks & Regards
Srinivas
11/21/2022 08:18 AM
What can be the maximum value of org.quartz.threadPool.threadCount?40?
11/21/2022 08:28 AM
You can set to 40 but as per best practices set by saviynt it should be max 20.