How to disable chunk upload and the associated ChunkCleanUpTask in AEM

Objective

The chunk upload feature of AEM is intended for customers with unreliable or intermittent network connections to their systems.  If the network connections of users are relatively stable then better performance and stability can be gained by disabling chunk uploads.  This article will outline the procedure for disabling chunk upload and the way to disable the associated ChunkCleanUpTask. 

Environment

AEM 6.2

Steps

I. Disable Chunk Upload

To disable chunk upload in AEM, follow the steps below:

  1. Open http://aem-host:port/crx/de/index.jsp and log in as admin.

  2. Navigate to Tools => Query.

  3. In the Query box, enter this XPath query:

    ​/jcr:root/libs//fileupload[@chunkUploadSupported=true]
  4. Click Execute.

  5. Browse to each of the paths listed and set chunkUploadSupported to false.

  6.  Click Save All.

  7. Clear your browser cache.

II. Disable the ChunkCleanUpTask

To disable the ChunkCleanUpTask from running:

  1. Open http://aem-host:port/system/console/configMgr/org.apache.sling.servlets.post.impl.helper.ChunkCleanUpTask.

  2. Set Schedule to this value: 0 0 0 * *? 3000.

 Adobe

Отримуйте допомогу швидше й простіше

Новий користувач?