One of the most important thread pools in Artifactory is the “async” thread pool. This one defines the number of 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
$JFROG_HOME/artifactory/var/etc/artifactory/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