AEM: Handling failure associated with bulk asset update

Use the parameter Maximum POST Parameters that controls the updates. A conservative update on a single property can be done on 100 assets at any one time.

Description description

Environment
Adobe Experience Manager 6.x (AEM 6.x)

Issue
When modifying a large number of assets at once, the process will fail to update some of the assets.

Cause
When reviewing the error log, a limitation appears to be reached based on the error messages similar to:

18.05.2017 15:12:26.887 *WARN* [ qtp543692490-318999] org.apache.sling.engine.impl.parameters.Util Too many name/value pairs, stopped processing after 10000 entries

Resolution resolution

The parameter Maximum POST Parameters that controls this can be found here:

http://<host>:<port>/system/console/configMgr/org.apache.sling.engine.parameters

When you do your POST, the number of assets you can update at any one time will be dependent on the number of properties that you need to update.

From a rough estimation and extrapolation of updating just a single property, a conservative update on a single property can be done on 100 assets at any one time.

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f