Expand my Community achievements bar.

SOLVED

null message while running runDataStoreGarbageCollection(java.lang.Boolean delete) and startTarOptimization()

Avatar

Level 3

We are running on CQ 5.6.1 and CRX CRX 2.4.64 right now. The space secured currently is 33GB. We wanted to free up some space; but when we run runDataStoreGarbageCollection(java.lang.Boolean delete)  and startTarOptimization() ; we get the message 'null'. Also; the disk space taken by crx-quicksart folder remains the same. Is this an error ? Are these processes working properly?

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi,

please see the links below on maintenance tasks including workflow and audit purge. There have also been threads about this on the forum. With version purge, be sure the business users are ok with losing versions (they can always be recovered from a backup, if you keep them)

How long has your system been running?

Regards,

Opkar

 

[1] http://cq-ops.tumblr.com/post/29627149909/recommended-sequence-of-cq-maintenance-operations

[2] https://docs.adobe.com/docs/en/cq/5-6-1/deploying/monitoring_and_maintaining.html

[3] https://helpx.adobe.com/experience-manager/kb/howtopurgewf.html

View solution in original post

4 Replies

Avatar

Employee

You should be tailing the error.log to find out what is happening when you run these processes, you will get status updates to tell you how the task is progressing.

For manually running the taroptimization process, please refer to [1]

Have you purged old workflows, audit data, versions?

Regards,

Opkar

 

https://helpx.adobe.com/experience-manager/kb/TarPMOptimization.html

Avatar

Level 3

The message in the logs  after running runDataStoreGarbageCollection(java.lang.Boolean delete) with delete parameter as 'true' is

23.07.2015 13:37:38.028 *INFO* [Data Store Garbage Collection] com.day.crx.persistence.tar.utils.DataStoreGarbageCollector 69 seconds, 101% scanned (75 MB/s), ETA -1 seconds
23.07.2015 13:37:38.028 *INFO* [Data Store Garbage Collection] com.day.crx.persistence.tar.utils.DataStoreGarbageCollector Scan completed
23.07.2015 13:37:38.209 *INFO* [Tar PM Optimization] com.day.crx.persistence.tar.file.TarFile /opt/cq/author/crx-quickstart/repository/version/data_00751.tar id:751 length:268438016 append:268436992 1153244167 optimize: 114971136
23.07.2015 13:37:43.110 *INFO* [Tar PM Optimization] com.day.crx.persistence.tar.file.TarFile /opt/cq/author/crx-quickstart/repository/workspaces/crx.default/data_07819.tar id:7819 length:268437504 append:268436480 735175346 optimize: 128361984
23.07.2015 13:37:48.210 *INFO* [Tar PM Optimization] com.day.crx.persistence.tar.file.TarFile /opt/cq/author/crx-quickstart/repository/version/data_00751.tar id:751 length:268438016 append:268436992 1153244167 optimize: 123003904
23.07.2015 13:37:53.111 *INFO* [Tar PM Optimization] com.day.crx.persistence.tar.file.TarFile /opt/cq/author/crx-quickstart/repository/workspaces/crx.default/data_07819.tar id:7819 length:268437504 append:268436480 735175346 optimize: 141959168
23.07.2015 13:37:58.211 *INFO* [Tar PM Optimization] com.day.crx.persistence.tar.file.TarFile /opt/cq/author/crx-quickstart/repository/version/data_00751.tar id:751 length:268438016 append:268436992 1153244167 optimize: 132436992

 

 

and after running startTarOptimization()  is

23.07.2015 13:35:53.930 *WARN* [Tar PM Optimization] com.day.crx.persistence.tar.Optimize Optimize of 1024 bytes took 93 msec. -> 95232.0 msec / MB

So I guess the processes completed successfully; still does not explain the 'null' message in the console we get after the processes get completed. Assume that proper message has not been configured.

 

Can you please guide how to purge old workflows, audit data, versions? We are working to reduce the excess space consumed by the repository. Is running

runDataStoreGarbageCollection(java.lang.Boolean delete)  and startTarOptimization()  from /system/console/jmx/com.adobe.granite%3Atype%3DRepository enough or there are other methods as well?

Already gone through

https://helpx.adobe.com/experience-manager/kb/DataStoreGarbageCollection.html and

https://helpx.adobe.com/experience-manager/kb/TarPMOptimization.html

In both the documents; the above method is mentioned. How can we purge old workflows, audit data, versions?

Avatar

Correct answer by
Employee

Hi,

please see the links below on maintenance tasks including workflow and audit purge. There have also been threads about this on the forum. With version purge, be sure the business users are ok with losing versions (they can always be recovered from a backup, if you keep them)

How long has your system been running?

Regards,

Opkar

 

[1] http://cq-ops.tumblr.com/post/29627149909/recommended-sequence-of-cq-maintenance-operations

[2] https://docs.adobe.com/docs/en/cq/5-6-1/deploying/monitoring_and_maintaining.html

[3] https://helpx.adobe.com/experience-manager/kb/howtopurgewf.html