AEM 6.2 Too many calls Sling Exception. | Community
Skip to main content
New Participant
September 16, 2016
Solved

AEM 6.2 Too many calls Sling Exception.

  • September 16, 2016
  • 12 replies
  • 12566 views

Hello Team,

I'm working on the upgrade project from 5.6.1 to 6.2. Initially I had the issue of Too many Sling api calls exception and my components are not getting loaded in the edit mode. Only when I increase the value of sling.max.calls to higher value, my components gets loaded.

Any pointers/suggestions would be appreciated.

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 cqvoyager

I debugged further and figured out that too many calls exception is coming when the number of components are more than 1000. When I debugged, total number of components are 1026.  That includes my custom components, geometrixx components and libs components. when it reached 1000, due to sling.max.calls value set to 1000, Component servlet is calling that component and its giving the exception once it reaches 1000 components.

To test this furhter I uninstalled the geometrixx components in my local and see that number of components came down from 1026 to 868 and this time, it did not result in Too many calls exception.

--Durga

12 replies

smacdonald2008
New Participant
September 17, 2016

Also setting a sling config value for components to show up,   Who told you to do that?  Sounds like you should file ticket. Something is broken. This is not normal behaviour. 

smacdonald2008
New Participant
September 17, 2016

Is this happening for all components in your instance? What about sample components in geomatrixx?