Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

ACS Report - too many calls exception

Avatar

Avatar
Validate 1
Level 3
DhirajAg
Level 3

Likes

12 likes

Total Posts

65 posts

Correct Reply

3 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile

Avatar
Validate 1
Level 3
DhirajAg
Level 3

Likes

12 likes

Total Posts

65 posts

Correct Reply

3 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
DhirajAg
Level 3

17-09-2020

I am using ACS AEM Commons report builder and specifically have references column. I am running it on DAM root folder which has around 2000 assets.

 

I am getting an exception of too many calls per request. To fix this, I had to increase the number to 15000 in org.apache.sling.engine.impl.SlingMainServlet .

 

Are there any cons of increasing the number to such a high number?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
MVP
raj_mandalapu
MVP

Likes

124 likes

Total Posts

203 posts

Correct Reply

72 solutions
Top badges earned
Validate 1
Contributor
Shape 1
Give Back 5
Give Back 3
View profile

Avatar
Validate 1
MVP
raj_mandalapu
MVP

Likes

124 likes

Total Posts

203 posts

Correct Reply

72 solutions
Top badges earned
Validate 1
Contributor
Shape 1
Give Back 5
Give Back 3
View profile
raj_mandalapu
MVP

17-09-2020

 

This is related to system security. I suggest you can set this on demand basis that to in lower environments, I prefer once your operation is completed you can change it back.

The only issue I see,  if someone injects infinite malicious recursive code then it is going to be a problem

The infinite recursion and excessive script calls may impact on the system performance

If you are enabling this on production then it is good to security testing

Apache Sling Main Servlet

 

Configure:

  • Number of Calls per Request and Recursion Depth to protect your system against infinite recursion and excessive script calls

Answers (1)

Answers (1)

Avatar

Avatar
Validate 25
MVP
Singaiah_Chintalapudi
MVP

Likes

130 likes

Total Posts

233 posts

Correct Reply

38 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile

Avatar
Validate 25
MVP
Singaiah_Chintalapudi
MVP

Likes

130 likes

Total Posts

233 posts

Correct Reply

38 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
Singaiah_Chintalapudi
MVP

17-09-2020

I think you can ignore this error. I've got the same and compared the results from results (~27,000) from both ACS and manual query and they are both matching.

 

You can look at the logs if you want to debug further. Make sure you run these queries on pre-prod environments preferably local.

 

Thanks,

Singaiah