With CQ 5.6.1, the property referencedBy has been introduced in order to keep track of the pages that reference the same link.
However, in case a link is referenced from too many pages like external link in the page footer, this causes Linkchecker to perform a lot of JCR writes/update causing CPU peaks as well as performance decreases, mainly caused by the JCR locks.
In such cases where performance is compromised, it is recommended to disable this feature by following the steps below:
- Delete /var/linkchecker (it will be recreated automatically)
- Install the hotfix cq-5.6.1-hotfix-4984 (if SP2 is installed, this hotfix is not required and can be skipped).
- In the OSGI configuration console, open "Day CQ Link Checker Info Storage Service” and deselect "Save external link references” option. If it doesn’t appear in the configurations, restart the CQ instance.
Please note that, disabling this option will not cause automatic removal of the existing referencedBy property values. To achieve this, remove /var/linkchecker.