By default, the Artifactory Garbage Collection is configured to run every 4 hours.
The GC is a very resource-consuming operation, and if you see correlations between the running period of the GC to slow performance, we would recommend you to alter the Artifactory GC (not related JVM GC) to run at non-peak hours.
HTTP Client
Artifactory manages a separate connection pool for outgoing HTTP requests per remote repository.
This connection pool is limited by default to 50 concurrent connections, and up to 50 concurrent connections per unique route.
This is configured in
$JFROG_HOME/artifactory/var/etc/artifactory/artifactory.system.properties
Default values:
artifactory.http.client.max.total.connections = 50
artifactory.http.client.max.connections.per.route = 50
Tuning example:
artifactory.http.client.max.total.connections = 150
artifactory.http.client.max.connections.per.route = 120