Solved
CQ5.6 Garbage Collector hangs and has no effect on repository size
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/runDataStoreGarbageCollection/java.lang.Boolean'
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!