Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

CQ5.6 Garbage Collector hangs and has no effect on repository size

Avatar

Former Community Member

Adobe Experience Manager, Version 5.6.1.20130606. 

We are invoking CQ Garbage Collection with delete=true to reduce the size of crx-quickstart/repository, however GC hangs and has no impact on the disk usage.  We have tried invoking GC from the CQ JMX UI and from a curl command line:

curl -v -u admin:password --data "delete=true" 'http://localhost:8880/system/console/jmx/com.adobe.granite%3Atype%3DRepository/op/runDataStoreGarbag...'

After a few minutes, the CQ error.log shows "com.day.crx.persistence.tar.utils.DataStoreGarbageCollector Scan completed" and there is no more GC-related logging afterwards.  The curl command never completes, and apparently nothing has changed inside the repository on the filesystem.

Please help us figure out how to make GC work here, thanks!

1 Accepted Solution

Avatar

Correct answer by
Level 10
2 Replies

Avatar

Level 10

you need to pass refferer in curl otherwise does not work. 

GC will log whether intial or final phase complete. Not seeing that in your log message.   Could you enable debug for gc & send log. ALternatively file a case with daycare, 

Avatar

Correct answer by
Level 10