내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

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 채택된 해결책 개

Avatar

정확한 답변 작성자:
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

원본 게시물의 솔루션 보기

4 답변 개

Avatar

Level 10

HAve you read these AEM topics: 

https://docs.adobe.com/docs/en/aem/6-0/deploy/recommended-deploys/tarmk-cold-standby.html

http://www.aemcq5tutorials.com/tutorials/tarmk-cold-standby-aem-6/

These are the only topics I know on this subject. If they are not helpful , let me know. 

Avatar

정확한 답변 작성자:
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 8
  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.

Avatar

Level 2

Thanks McDonald and Ankur ..