To tune Artifactory for heavy loads, please see our suggestions below:
Tune MySQL for Artifactory: Our documentation includes suggestions for your my.cnf file, so that you can tune MySQL for best performance.
For a more thorough read on Artifactory tuning, please read our article Monitoring and Optimizing Artifactory Performance.
$ARTIFACTORY_HOME/etc/db.properties (formerly the storage.properties file in Artifactory 4.x):
Default value: 100
Description: Each instance will have its own pool with 400 max connections to the database.
Description: The number of async processes that can run in parallel
Default value: machine cores x4
Description: Number of processes that can be queued
Artifactory’s Tomcat '$ARTIFACTORY_HOME/tomcat/conf/server.xml' file:
<Connector port="8081" maxThreads="2048" minSpareThreads="200" enableLookups="false" backlog="100"/>
<Connector port="8019" protocol="AJP/1.3" maxThreads="2048" minSpareThreads="200" enableLookups="false" backlog="100"/>
Note: Please only update the port(s) relevant for your setup, as defining both will allocate the minSpareThreads for both and could result in unused threads on one of the connectors (200 threads in the example above)
maxThreads default value: 200
Description: The maximum number of simultaneous requests that can be handled(by Tomcat).