AEM 6.5: TooManyCallsException When Navigation Through Sites with Side Rail Opened | Community
Skip to main content
Level 2
October 18, 2021
Solved

AEM 6.5: TooManyCallsException When Navigation Through Sites with Side Rail Opened

  • October 18, 2021
  • 4 replies
  • 4011 views

Hi all,

 

recently we noticed that error.log is full of exceptions like:

GET /mnt/overlay/wcm/core/content/sites/jcr:content/rails/references/items/references.provider.html HTTP/1.1]
com.day.cq.wcm.core.impl.WCMDeveloperModeFilter Error during include of SlingRequestPathInfo:

path='path-to-EF',\  selectorString='provider', extension='html', suffix='null' 

 

org.apache.sling.api.request.TooManyCallsException: /libs/wcm/core/components/coral/references/borrowedcontent/borrowedcontent.jsp

 

 

 

Judging by recent threads here this could come from Apache Sling Main Servlet's setting of maximun number of calls. Seems like 'Borrowed Content' exceeds the limit. So I wonder what would be recommended tip for this? Is this going to be fixed next Service Pack?

 

Thanks in advance

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 Anny0505

@demobuster ,

 

I had faced same issue in my AEM and used below steps to resolve the issue.

 

1. Login to AEM instance with admin user.

2. Go to http://localhost:402/system/console/configMgr

3. Update Apache Sling main Servlet configuration : Number of request per calls to  10000.

 

I hope this helps!!

 

Thanks,

Aruna

 

4 replies

Asutosh_Jena_
Community Advisor
Community Advisor
October 18, 2021

Hi @demobuster 

 

Please increase the maximum number of calls in Apache Sling Main Servlet to 10000 from 1000. it should resolve the issue.

 

Thanks!

Ankur_Khare
Community Advisor
Community Advisor
October 18, 2021

Increase the number in Apache Sling Main Servlet's setting to 10000 that should sort the issue.

I too faced this issue and this particular change fixed the issue.

Anny0505
Community Advisor
Anny0505Community AdvisorAccepted solution
Community Advisor
October 18, 2021

@demobuster ,

 

I had faced same issue in my AEM and used below steps to resolve the issue.

 

1. Login to AEM instance with admin user.

2. Go to http://localhost:402/system/console/configMgr

3. Update Apache Sling main Servlet configuration : Number of request per calls to  10000.

 

I hope this helps!!

 

Thanks,

Aruna

 

September 22, 2022

Hi Aruna,

Thanks for the solution.

 

1.Are there any other factors like memory/CPU we need to consider before changing to 10000?

2.from this, CQ_JVM_OPTS='-server -Xms12228m -Xmx12228m, can we get an idea that there won't be any issue after increasing to 10000?

 

Thanks

Eranda

 

 

Sanjay_Bangar
Community Advisor
Community Advisor
October 18, 2021

Hi @demobuster ,

          You need to increase Apache Sling Main Servlet calls.

We had recently same issue and we have increased servlet call from 1000 to 10000.

Regards,

Sanjay