Open http://aem-host:port/crx/de/index.jsp and log in as admin.
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:
-
-
Navigate to Tools => Query.
-
In the Query box, enter this XPath query:
/jcr:root/libs//fileupload[@chunkUploadSupported=true]
-
Click Execute.
-
Browse to each of the paths listed and set chunkUploadSupported to false.
-
Click Save All.
-
Clear your browser cache.
II. Disable the ChunkCleanUpTask
To disable the ChunkCleanUpTask from running:
-
Open http://aem-host:port/system/console/configMgr/org.apache.sling.servlets.post.impl.helper.ChunkCleanUpTask.
-
Set Schedule to this value: 0 0 0 * *? 3000.