Expand my Community achievements bar.

SOLVED

AEM6 with SP1 repository compacting (TarMK) doesn't work

Avatar

Level 2

Hi.

 

I have installed service pack 1 on fresh AEM6 instance. I also checked if the oak version is correct, and it was 1.0.5, I have deployed my packages few times and repository size growth up to ~9 GB. I tried to fire compacting from the JMX console (/system/console/JMX -> RepositoryManagment) but it didn't compact the repository size. In logs I have information, that compacting has been paused, and probably this is the reason why it didn't worked. I also read that just one time I should fire the offline oak compacting tool, so I did that, and repository size has backed to normal. Once again I deployed my package few times, repository size was again around ~5GB. Once again I tried to fire compacting from JMX, but it didn't helped. What I have in logs:

18.09.2014 09:32:45.466 *INFO* [TarMK compaction thread [path\crx-quickstart\repository\segmentstore], active since Thu Sep 18 09:32:45 CEST 2014, previous max duration 3195ms] org.apache.jackrabbit.oak.plugins.segment.file.FileStore TarMK compaction started 18.09.2014 09:32:47.967 *INFO* [TarMK compaction thread [path\crx-quickstart\repository\segmentstore], active since Thu Sep 18 09:32:45 CEST 2014, previous max duration 3195ms] org.apache.jackrabbit.oak.plugins.segment.file.FileStore Estimated compaction in 2501ms, gain is 39% (2932442624/4838666752), so running compaction 18.09.2014 09:32:47.967 *INFO* [TarMK compaction thread [path\crx-quickstart\repository\segmentstore], active since Thu Sep 18 09:32:45 CEST 2014, previous max duration 3195ms] org.apache.jackrabbit.oak.plugins.segment.file.FileStore TarMK compaction paused 18.09.2014 09:32:49.669 *INFO* [TarMK flush thread [path\crx-quickstart\repository\segmentstore], active since Thu Sep 18 09:32:49 CEST 2014, previous max duration 1783ms] org.apache.jackrabbit.oak.plugins.segment.file.FileStore TarMK revision cleanup started 18.09.2014 09:32:50.319 *INFO* [TarMK flush thread [path\crx-quickstart\repository\segmentstore], active since Thu Sep 18 09:32:49 CEST 2014, previous max duration 1783ms] org.apache.jackrabbit.oak.plugins.segment.file.FileStore TarMK revision cleanup completed in 649ms

I also tried to compact data using instructions in http://docs.adobe.com/docs/en/aem/6-0/deploy/upgrade/microkernels-in-aem-6-0.html

Probably I'm doing something wrong, the question is what is it?

 

Best Regards.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Micro-BIOS wrote...

The only way I have found till now to compact the repository is to turn off the AEM instance and run oak-run. I'm convinced that AEM should be still in beta.

Hi,

    There are some edge cases it can happen, hence requesting to file daycare so that we can investigate and provide solution to meet your timelines. Also we understand the risk & hence to track down need official ticket. 

Thanks,

Sham

View solution in original post

3 Replies

Avatar

Level 10

Please file a daycare ticket. 

Avatar

Former Community Member

The only way I have found till now to compact the repository is to turn off the AEM instance and run oak-run. I'm convinced that AEM should be still in beta.

Avatar

Correct answer by
Level 10

Micro-BIOS wrote...

The only way I have found till now to compact the repository is to turn off the AEM instance and run oak-run. I'm convinced that AEM should be still in beta.

Hi,

    There are some edge cases it can happen, hence requesting to file daycare so that we can investigate and provide solution to meet your timelines. Also we understand the risk & hence to track down need official ticket. 

Thanks,

Sham