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 :


  1. Go to this path  : http://localhost:4502/system/console/configMgr
  2. Search for Apache sling job queue configuration and open it for edit and default value for parallel jobs is 15


  3. Change the parallel Jobs value to 4 if CPU core is 8, Key in the valueMaximum Parallel Jobs = 4.0 
  4. 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
  1. The bulk upload of large assets may be very resource intensive. 
  2. 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.
  3. It is recommended to not exceed 50% of the cores
  4. For example for 8 CPU core , Maximum parallel jobs value would be 4(8 core = 4 Jobs in parallel)


1 comment:

  1. How do i push this osgi:config through my code instead of doing it manually?
    On Prod env we dont have the configMgr Access.
    Let me know if you have any solution for it.

    ReplyDelete