Artifactory async Thread Pool

Artifactory tuning for heavy loads - versions 5 & 6

AuthorFullName__c
Ariel Kabov
articleNumber
000004804
ft:sourceType
Salesforce
FirstPublishedDate
2020-04-26T11:39:53Z
lastModifiedDate
2024-03-10T07:49:11Z
VersionNumber
6
One of the most important thread pools in Artifactory is the “async” thread pool. This one defines the number of background processes that can run in parallel.
In addition to configuring the total number of parallel processes, we can also modify the maximum number of processes that can be queued.
This is configured in $ARTIFACTORY_HOME/etc/artifactory.system.properties.

Default values:
(this means the machines CPU cores times 4)
artifactory.async.corePoolSize = (4 * Runtime.getRuntime().availableProcessors()) 
artifactory.async.poolMaxQueueSize = 10000


Tuning example:
(Shouldn’t be more than 8x the machine CPU cores)
artifactory.async.corePoolSize = 128
artifactory.async.poolMaxQueueSize = 100000