Aggregation Tasks getting Terminated

Which IIQ version are you inquiring about?

IdentityIQ 8.5

Issue Summary: AD Aggregation Task Termination Post Upgrade

We have recently upgraded IdentityIQ from version 8.3p2 to 8.5. Post-upgrade, we observed an issue during Active Directory (AD) aggregation tasks (both Group and Account types):

  • The task auto-terminates after approximately one minute with the error message:

“Task is terminated as per User request”*

  • No manual intervention was made during the task execution.

Observations:

  • We enabled API.Aggregator for debugging, but no logs were generated after the run.
  • The issue is not consistent:
    On subsequent attempts (second or third run), the task completes successfully without termination.

Troubleshooting Suggestions Needed:

We are looking for guidance or troubleshooting tips to help us:

  • Understand the root cause of this intermittent termination.
  • Identify relevant logs or configurations that may help diagnose the issue.
  • Apply any known fixes or workarounds to prevent recurrence.

Thanks,
Srikanth

are these aggregation task part of any sequential task?

I need to check if same tasks are part of any sequential tasks but I checked that there are no other tasks running at same time.

Is there a maxIdentities set on the task definition?

maxIdentities not set on taskdef

I would grep your app directory or source code, I don’t see anything that would result in that message.

Hi @srinamala03

By any chance is the task server getting restarted where your app is running either on tomcat or jboss - by any chance the services are getting started if yes you will see the message saying terminated by user request.

@srinamala03 is the issue resolved?

Hi @srinamala03

To prevent the AD aggregation from auto-terminating after 60 seconds in IIQ 8.5, raise the connector’s execution timeout above its 1-minute default. In your IdentityIQ web UI under the Active Directory application’s “Connector Attributes,” add or update:

  • Key: timeout

  • Value: 300000

(300 000 ms = 5 minutes)

Save, redeploy the application, then rerun the aggregation. The task will no longer stop at one minute with “Task is terminated as per User request.”