Expand my Community achievements bar.

SOLVED

Tar PM optimization once per week in CQ5.4

Avatar

Employee Advisor

Hi,

As we know that, CRX automatically runs Tar PM optimization between 2 am and 5 am and we can configure the timing as well. It works in daily basis.

Can we configure this Tar PM optimization once per week?

We are using CQ5.4 . Please suggest.

 

Thanks,

Debal

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Keep in mind that if you schedule it on weekly basis then it will take longer time to run and complete. You can tune the Tar PM optimization process by passing the delay parameter which will ensure that it does not continuously consume CPU and I/O resources and thereby blocking the other operations. Also there is another property "indexInMemory" which improves the performance of Tar PM  optimization by reducing the I/O. 

Check the following articles- 

http://www.wemblog.com/2012/03/how-to-run-online-backup-using-curl-in.html  

http://www.wemblog.com/2012/02/how-to-increase-tar-optimization-and.html

http://docs.adobe.com/docs/en/cq/5-5/core/administering/persistence_managers/tarpmopt.html

View solution in original post

7 Replies

Avatar

Employee Advisor

Why you don't want it to run on daily basis ? If you don't run it on daily basis then your TAR files will continue to grow quickly and eat up your disk space. But if you still want to change the schedule then you can achieve it by disabling the auto scheduled optimization in the workspace.xml file and schedule a custom cron job (scheduled weekly) which invokes a curl script to trigger tarpm optimization. 

Avatar

Employee Advisor

HI,

you should run the TarOptimize on a daily basis. If you want full flexibility (maybe running it twice a day or such), you can disable the TarOptimization in the configuration and start it manually using a cron job [1].

Jörg

[1] https://helpx.adobe.com/experience-manager/kb/TarPMOptimization.html, last section "Manually optimizing Tar files at runtime"

Avatar

Employee Advisor

Hi Kunal,

Yes,we can run it on daily basis. But, I have one concern for the same. As our site is used in US and APAC regions , there would be any chance to face any performance issue while tar optimization  during weekdays.

Please suggest.

Thanks for you

Debal

Avatar

Employee Advisor

Thanks a lot for suggestion.

 

Thanks,

Debal

Avatar

Correct answer by
Employee Advisor

Keep in mind that if you schedule it on weekly basis then it will take longer time to run and complete. You can tune the Tar PM optimization process by passing the delay parameter which will ensure that it does not continuously consume CPU and I/O resources and thereby blocking the other operations. Also there is another property "indexInMemory" which improves the performance of Tar PM  optimization by reducing the I/O. 

Check the following articles- 

http://www.wemblog.com/2012/03/how-to-run-online-backup-using-curl-in.html  

http://www.wemblog.com/2012/02/how-to-increase-tar-optimization-and.html

http://docs.adobe.com/docs/en/cq/5-5/core/administering/persistence_managers/tarpmopt.html

Avatar

Employee Advisor

Hi,

As Adobe has recommended to optimize the tar file when the current system usage is low for automate optimization of tar files.

Will it be good to implement 'Automatically optimizing tar files' on daily basis. 

Have referred following link: https://docs.adobe.com/docs/en/crx/2-2/administering/persistence_managers.html (paragraph title : Automatically optimizing tar files).

Any suggestion.

Thanks,

Debal

[img]Auto-optimization-process.PNG[/img]

Avatar

Level 10

Hi Debal,

As Kunal mentioned, it advised to have it run on a daily basis by configuring such that it doesnt effect much !