How to remove old link checker report from /var/linkchecker in author? | Community
Skip to main content
Level 2
March 30, 2021
Solved

How to remove old link checker report from /var/linkchecker in author?

  • March 30, 2021
  • 1 reply
  • 1586 views

We need to clear the old link checker report from AEM author cache and regenerate the new report. I found some of the articles on the net which suggest to remove this directly through crx/de, but we don't want to delete in that way.

So, the ask is there any configuration or any other option to clear the cache report from /var/linkchecker node?

I have tried below configuration changes but no luck.

 

1. I have updated max links per host to 0 in "Day CQ link checker info storage service" (Default is 500).

2. Another way I have updated Map cache size to 0 in "Day CQ Link checker transform" (Default is 5000).

 

Appreciate your response.

 

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 Asutosh_Jena_

Hi @prahlad-dutta 
There is no such configuration present which will remove the link cached copy of links from /var/linkchecker automatically.

Ideally this should not be cleared as the cache will help linkchecker not to check for the same links multiple times which will slowdown your instance.

 

if still you want to go ahead and clear the cached report, you will need to delete via crx/de or you can write a servlet/scheduler which will execute based on your need and can delete the nodes under /var/linkchecker programatically.

 

https://helpx.adobe.com/in/experience-manager/kb/how-to-configure-linkchecker-tomark-alllinks-asvalid.html

 

Hope this helps!
Thanks!

  

1 reply

Asutosh_Jena_
Community Advisor
Asutosh_Jena_Community AdvisorAccepted solution
Community Advisor
March 30, 2021

Hi @prahlad-dutta 
There is no such configuration present which will remove the link cached copy of links from /var/linkchecker automatically.

Ideally this should not be cleared as the cache will help linkchecker not to check for the same links multiple times which will slowdown your instance.

 

if still you want to go ahead and clear the cached report, you will need to delete via crx/de or you can write a servlet/scheduler which will execute based on your need and can delete the nodes under /var/linkchecker programatically.

 

https://helpx.adobe.com/in/experience-manager/kb/how-to-configure-linkchecker-tomark-alllinks-asvalid.html

 

Hope this helps!
Thanks!

  

Level 2
March 31, 2021
Thanks asutosh_j3 for your suggestion. It will help.