Hi All,
I am using AEM 6.1 With SP2, my aem repository folder is increasing rapidly, I read on the tar compaction and tried them but I am unable to succeed.
For online i followed - https://helpx.adobe.com/experience-manager/kb/AEM_6_TarMK_Online_Compaction.html; installed hot fix for oak. then restarted my aem, I am getting Authentication Support Service missing , I checked console all bundles are active.
For offline I Used oak-run-1.2.11.jar and after running compacting step im getting error saying, SegmentNotFound Exception.
-Thanks,
Raghava.
Solved! Go to Solution.
Views
Replies
Total Likes
Compaction of TAR files:
1) Offline Compaction :
Download oak-run-*.jar from https://mvnrepository.com/artifact/org.apache.jackrabbit/oak-run, download the version same as the oak version you are using (Can be seen at right side of crx/de page).
Run Below commands,
This will cleanup redundant data from repository.
2) Online compaction:
To enable the online compaction, simply add the property "pauseCompaction" with value "false" in the below config. Create/Use the following config file to add it, for example:
/crx-quickstart/install/org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStoreService.cfg
pauseCompaction=false
Note:The online compaction is less efficient than offline compaction and its effect can only be observed over a prolonged period of time (a couple of days). You should not expect removed content to be garbage collected right away as the content might still be referenced by other sessions
Offline compaction gives immediate results on successful run than online
Views
Replies
Total Likes
Compaction of TAR files:
1) Offline Compaction :
Download oak-run-*.jar from https://mvnrepository.com/artifact/org.apache.jackrabbit/oak-run, download the version same as the oak version you are using (Can be seen at right side of crx/de page).
Run Below commands,
This will cleanup redundant data from repository.
2) Online compaction:
To enable the online compaction, simply add the property "pauseCompaction" with value "false" in the below config. Create/Use the following config file to add it, for example:
/crx-quickstart/install/org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStoreService.cfg
pauseCompaction=false
Note:The online compaction is less efficient than offline compaction and its effect can only be observed over a prolonged period of time (a couple of days). You should not expect removed content to be garbage collected right away as the content might still be referenced by other sessions
Offline compaction gives immediate results on successful run than online
Views
Replies
Total Likes