Issue

Loads the pages only partially. While loading the page, the TooManyCallsException error appears in the error log. It does not impact all the pages. It only impacts the pages with too many includes.

Environment

All AEM versions.

Cause

While loading a page, TooManyCallsException is thrown because there are too many includes within the page. As too many includes cause performance issues, the OSGi configuration has limited the number of includes in the SlingMainServlet. If a page requires numerous includes, then increase the property value.

Resolution

  1. Open the OSGi configuration here [1].
  2. Increase the property Number of Calls per Request from 1500 to a high enough number until the exception disappears.
    [1] http://aem-host:port/system/console/configMgr/org.apache.sling.engine.impl.SlingMainServlet

이 작업에는 Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License의 라이센스가 부여되었습니다.  Twitter™ 및 Facebook 게시물은 Creative Commons 약관을 적용받지 않습니다.

법적 고지 사항   |   온라인 개인 정보 보호 정책