Tomcat HTTP Connections / Threads

How do I tune Artifactory for heavy loads?

AuthorFullName__c
Ariel Kabov
articleNumber
000002802
ft:sourceType
Salesforce
FirstPublishedDate
2016-11-21T15:16:01Z
lastModifiedDate
2024-03-10T07:48:51Z
VersionNumber
19
Artifactory runs on top of Apache Tomcat, which manages the incoming HTTP connection pools.
This sets the number of concurrent HTTP connections Artifactory can serve.
We can override the default thread pool limit by modifying the Artifactory System YAML.

Default values:
artifactory:
  tomcat:
    connector:
      maxThreads: 200
...
access:
  tomcat:
    connector:
      maxThreads: 50

Tuning example:
artifactory:
  tomcat:
    connector:
      maxThreads: 600
...
access:
  tomcat:
    connector:
      maxThreads: 150

Important: When modifying the Access maxThreads, it is required to update the $JFROG_HOME/artifactory/var/etc/artifactory/artifactory.system.properties file with:
artifactory.access.client.max.connections = <VALUE>
This is to modify the internal HTTP connection pool Artifactory uses to internally interact with Access.