Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Tar offline compaction time increasing


Community Advisor

We are using tar offline compaction on AEM 6.1 with oak-run1.2.25.jar and datastore size is 25-30GB

java -Xmx16G -jar oak-run1.2.25.jar checkpoints segmentstore

java -Xmx16G -jar oak-run1.2.25.jar checkpoints segmentstore rm-unreferenced

java -Xmx16G -Dtar.memoryMapped=true -Dupdate.limit=5000000 -Dcompress-interval=10000000 -Dcompaction-progress-log=1500000 -Dlogback.configurationFile=compactionLog.xml oak-run1.2.25.jar compact segmentstore

Average time for compaction is 3-4 hours but some times it take very long time upto 7-8 hours to finish which in result unavailable author server for users.

I have followed adobe recommendation to increase performance of offline.

Storage Elements in AEM 6.1 - docs.adobe.com

Does anyone have other idea for this issue ?

/Brijesh Yadav

0 Replies