AEM 6.2 Too many calls Sling Exception. | Community
Skip to main content
Level 3
Sep 16, 2016 11:58 PM UTC
Solved

AEM 6.2 Too many calls Sling Exception.

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.
cqvoyagerAccepted solution
Level 3
Sep 19, 2016 6:06 PM UTC

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
Level 10
Sep 17, 2016 6:04 AM UTC

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. 

Translate
smacdonald2008
Level 10
Sep 17, 2016 6:02 AM UTC

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

Translate