Expand my Community achievements bar.

SOLVED

TarMK compaction thread is not getting stopped at the scheduled windowEndTime

Avatar

Level 2

We are using the default daily maintenance window 2.00 to 5.00 configured at /libs/granite/operations/config/maintenance/granite:daily

TarMK compaction thread is getting started at the scheduled start time of 2.00 AM, but it is not getting stopped at 5.00 and it is running till it gets completed( The complete run takes around 7 to 12 hours). 

Also if we try to stop the server at that time (when TarMK compaction is running), the stop process is waiting for the TarMK compaction to get completed. we need to kill that process to get it stopped, otherwise we need to wait for the TarMK compaction to get complete.

kindly help me on this.

1 Accepted Solution

Avatar

Correct answer by
Level 10

I checked with Support on this issue - this was the response: 

This is one of the possible issues one can run into with “Online Compaction” which is not recommended for AEM 6.0 & 6.1.

For AEM 6.2 (though not likely the case for this customer), we have restricted support for online compaction (subject to evaluation on case by case basis by support & engineering team).

Online Compaction is turned off by default on AEM 6.1 & 6.2. Offline Compaction as documented at [1] is the recommended approach:

https://docs.adobe.com/docs/en/aem/6-0/deploy/upgrade/microkernels-in-aem-6-0.html#Maintaining the Repository

View solution in original post

4 Replies

Avatar

Correct answer by
Level 10

I checked with Support on this issue - this was the response: 

This is one of the possible issues one can run into with “Online Compaction” which is not recommended for AEM 6.0 & 6.1.

For AEM 6.2 (though not likely the case for this customer), we have restricted support for online compaction (subject to evaluation on case by case basis by support & engineering team).

Online Compaction is turned off by default on AEM 6.1 & 6.2. Offline Compaction as documented at [1] is the recommended approach:

https://docs.adobe.com/docs/en/aem/6-0/deploy/upgrade/microkernels-in-aem-6-0.html#Maintaining the Repository

Avatar

Level 7
  This is a known issue, I too faced the same problem that online tar running for around 6-8 hours and if you try to kill process frequently then it will corrupt your repository too. That why we have started offline compaction as it took around 30 min for us and recommended from adobe too. Another drawback of online compaction was it reduced the performance of author instance very much till tar optimision is running.