# Aggregation task waiting while another aggregation will finish

**URL:** <https://developer.sailpoint.com/discuss/t/aggregation-task-waiting-while-another-aggregation-will-finish/17536>\
**Category:** IIQ Discussion and Questions\
**Tags:** identityiq, aggregation\
**Created:** [September 13, 2023, 8:20am UTC](https://developer.sailpoint.com/discuss/t/aggregation-task-waiting-while-another-aggregation-will-finish/17536 "2023-09-13T08:20:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kskendelis](https://avatars.discourse-cdn.com/v4/letter/k/b38774/32.png) [@kskendelis](https://developer.sailpoint.com/discuss/u/kskendelis)\
**Post date:** [September 13, 2023, 8:20am UTC](https://developer.sailpoint.com/discuss/t/aggregation-task-waiting-while-another-aggregation-will-finish/17536/1 "2023-09-13T08:20:37Z")

</div>

How make run few aggregation task at the same time, it seems now all free threads dedicated to one task.  
two tasks in list:

 ![image](https://global.discourse-cdn.com/sailpoint/original/2X/3/30878260fa637d5efae1e6aec2e0d4588c29fc42.png)

one is running :

 ![image](https://global.discourse-cdn.com/sailpoint/original/2X/6/69cd89b4574aab54ffbb1969d622907dbcb37aba.png)

another is waiting for first task to be finished

 ![image](https://global.discourse-cdn.com/sailpoint/original/2X/c/c889e07e67aab796b0533d710d26e923a5732eb2.png)

Problem: is that we have some aggregation tasks which taking a lot time and in this case you cant run another aggregation task which lets say taking about 10min.

Now we have set 8 threads , maybe possible set max 7 threads for One task, when in any case another task will have 1 thread. If its problem in threads.

 ![image](https://global.discourse-cdn.com/sailpoint/original/2X/3/37afc6138a31074b89ab0b5e967e9b8cc2432f46.png)

---

<div class="post-metadata">

**Author:** ![aniksngh](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/aniksngh/32/4103_2.png) [@aniksngh](https://developer.sailpoint.com/discuss/u/aniksngh)\
**Post date:** [September 14, 2023, 9:24pm UTC](https://developer.sailpoint.com/discuss/t/aggregation-task-waiting-while-another-aggregation-will-finish/17536/2 "2023-09-14T21:24:06Z")

</div>

Probably not related to threading but you can try that. You can try below options as well.

Are you using option “_Actions to include in the task result_” in your task when partitioning enabled? If yes, unselect that “Actions to include in the task result”.

**or**  
are your RequestProcessors running? _ServiceDefinition_ then click on _Request_ should be set to global or list of servers. Partitions are created as Request objects.

**or**  
Enable loggers to actually see what’s happening in the backend.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [November 13, 2023, 9:24pm UTC](https://developer.sailpoint.com/discuss/t/aggregation-task-waiting-while-another-aggregation-will-finish/17536/3 "2023-11-13T21:24:29Z")

</div>

Closed on November 13, 2023, 9:24pm UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
