April 23, 2020
Estimated Post Reading Time ~

Steps to Tune the Sling Job Queues

Statement: Tuning the Sling Job Queues
Environment: AEM 6.3
Issues Faced:
A large amount of content was activated by the content authors resulting unresponsive publishers.

Solution:
Go to this path : http://localhost:4502/system/console/configMgr

Search for Apache sling job queue configuration and open it for edit and default value for parallel jobs is 15


Change the parallel Jobs value to 4 if CPU core is 8, Key in the value - Maximum Parallel Jobs = 4.0


Save the changes.it will create two file one for old and one for new value


Reason to changes the parallel Job value in Sling Job queue configuration
The bulk upload of large assets may be very resource-intensive.
By default, the number of concurrent threads per job queue is equal to the number of CPU cores, which may cause an overall performance impact and high java heap consumption.
It is recommended to not exceed 50% of the cores
For example for 8 CPU core , Maximum parallel jobs value would be 4(8 core = 4 Jobs in parallel)


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.