Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

CQ TarPM stop automatic optimization

Avatar

Level 1

I using CQ5.6.1 and CRX 2.4.23.

In workspace.xml, i have set autoOptimizaAt as "" (empty string).

<PersistenceManager class="com.day.crx.persistence.tar.TarPersistenceManager">
    <param name="autoOptimizeAt" value="" />
</PersistenceManager>

 

But it still continue running and it dint stop after default time.

Do i need set the same config for repository.xml?

I want to temporary stop run TarPM.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

it's best you do the changes in both. Akthough the definition in the workspace.xml should be authoritative.

Jörg

View solution in original post

3 Replies

Avatar

Employee Advisor

For details how to configure the TarOptimization, please also refer to [1]. I wouldn't recommend to turn off optimization, as the disk consumption will increase dramatically (depending on the activities on the repo).

My usual recommendation for operation is to disable TarOptimization in the configuration and always trigger it externally (Unix cron or Windows scheduler) via the "optimize.tar" file (also see [1]). Then you are much more flexible and you can temporarily disable it for 1 day or so. But never disable it for days or even weeks!

Jörg

 

[1] http://helpx.adobe.com/experience-manager/kb/TarPMOptimization.html

Avatar

Level 1

Hi Jörg,

May i know exactly where autoOptimizeAt i should set at in order to disable TarOptimization? For example in which file?

And i also prefer use crontab to perform TarOptimization.

Thanks
Fisher

Avatar

Correct answer by
Employee Advisor

it's best you do the changes in both. Akthough the definition in the workspace.xml should be authoritative.

Jörg