Skip to main content
Level 2
10月 18, 2021 12:58 午後 UTC
解決済み

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

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

このトピックへの返信は締め切られました。
Anny0505
Anny0505回答
Community Advisor
10月 18, 2021 3:50 午後 UTC

@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

 

5 の返信

Asutosh_Jena_
Community Advisor
Community Advisor
10月 18, 2021 2:16 午後 UTC

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
10月 18, 2021 2:19 午後 UTC

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.

翻訳
Ankur
Anny0505
Community Advisor
Anny0505Community Advisor回答
Community Advisor
10月 18, 2021 3:50 午後 UTC

@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

 

翻訳
9月 22, 2022 10:53 午前 UTC

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
10月 18, 2021 4:49 午後 UTC

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

翻訳