Asynchronous operations asynchronous-operations
To reduce adverse impact on performance, Adobe Experience Manger Assets processes certain long-running and resource-intensive asset operations asynchronously. Asynchronous processing involves enqueuing multiple tasks and eventually executing them in a serial manner subject to the availability of system resources. These operations include:
- Deleting many assets.
- Moving many assets or assets with many references.
- Exporting and importing asset metadata in bulk.
You can view the status of asynchronous tasks from the Async Job Status page.
N
is the number of CPU cores, N/2
tasks can execute in parallel, by default. To use custom settings for the task queue, modify the Async Operation Default Queue configuration from the Web Console. For more information, see queue configurations.Monitor the status of asynchronous operations monitoring-the-status-of-asynchronous-operations
Whenever Assets processes an operation asynchronously, you receive a notification in your Experience Manager Inbox and via an email. To view the status of the asynchronous operations in detail, navigate to the Async Job Status page.
-
In the Experience Manager interface click Operations > Jobs.
-
In the Async Job Status page, review the details of the operations.
To ascertain the progress of an operation, see the Status column. Depending upon the progress, one of the following statuses is displayed:
- Active: The operation is being processed.
- Success: The operation is complete.
- Fail or Error: The operation could not be processed.
- Scheduled: The operation is scheduled for processing a later time.
-
To stop an active operation, select it from the list and click Stop from the toolbar.
-
To view extra details, for example description and logs, select the operation and click Open from the toolbar. The task details page is displayed.
-
To delete the operation from the list, select Delete from the toolbar. To download the details in a CSV file, click Download.
note note NOTE You cannot delete a task if its status is either active or queued.
Purge completed tasks purge-completed-tasks
Experience Manager Assets executes a purge task every day at 0100 hours to delete completed asynchronous tasks that are more than a day old.
You can modify the schedule for the purge task and the duration for which details of completed tasks are retained before they are deleted. You can also configure the maximum number of completed tasks for which details are retained at any point of time.
-
In the Experience Manager interface click Tools > Operations > Web Console.
-
Open the Adobe CQ DAM Async Jobs Purge Scheduled task.
-
Specify the threshold number of days after which completed tasks are deleted and the maximum number of tasks for which details are retained in history. Save the changes.
Configure threshold for asynchronous delete operations configure-thresholds-for-asynchronous-delete-operations
If the number of assets or folders to be deleted exceeds the set threshold number, the delete operation is performed asynchronously.
-
In the Experience Manager interface click Tools > Operations > Web Console.
-
From the Web Console, open the Async Delete Operation Job Processing configuration.
-
In the Threshold number of assets box, specify the threshold numbers to asynchronously delete assets, folders, or references. Save the changes.
Configure threshold for asynchronous move operations configure-thresholds-for-asynchronous-move-operations
If the number of assets, folders, or references to be moved exceeds the set threshold number, the move operation is performed asynchronously.
-
In the Experience Manager interface, click Tools > Operations > Web Console.
-
From the Web Console, open the Async Move Operation Job Processing configuration.
-
In the Threshold number of assets/references box, specify the threshold numbers to asynchronously move assets, folders, or references. Save the changes.