CQ5.6 Garbage Collector hangs and has no effect on repository size | Community
Skip to main content
October 16, 2015
Solved

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

  • October 16, 2015
  • 2 replies
  • 583 views

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!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

Did you read this AEM KB:

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

2 replies

Sham_HC
New Participant
October 16, 2015

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, 

smacdonald2008
smacdonald2008Accepted solution
New Participant
October 16, 2015