JMX MBeans HTTP Connection Pools

JFrog Platform Administration Documentation

Content Type
Administration / Platform
ft:sourceType
Paligo

Artifactory supports JMX MBeans for the following HTTP resources:

  • Remote repositories

  • Distribution Repositories

  • FederatedStatusService

  • Xray Client Connection

  • Replication Queues

  • Event propagation service for Artifactory HA cluster nodes

The following read-only attributes are available for each HTTP connection pool.

Read-Only Attribute

Description

Available

Number of available connections

Leased

Number of currently active connections

Max

The maximum number of connections possible

Pending

The number of connections in process and pending completion

ActiveConnections

The current number of active connections in the pool

IdleConnections

The current number of idle connections in the pool

TotalConnections

The total number of connections in the pool

ThreadsAwaitingConnection

The total number of threads awaiting connection from the pool

JMXMBeans.png

Connection Pool Config

The following read-only configuration attributes are available for each HTTP connection pool.

Read-Only Attribute

Description

MaximumPoolSize

The maximum number of connections that can be kept in the pool

ConnectionTimeout

The maximum number of milliseconds that a client will wait for a connection from the pool

ValidationTimeout

The maximum number of milliseconds that the pool will wait for a connection to be validated as alive

PoolName

The name of the connection pool

MaxLifetime

The maximum connection lifetime of the pool in milliseconds

IdleTimeout

The maximum amount of time that a connection is allowed to sit idle in the pool (in milliseconds)

Catalog

The default catalog name to be set on connection in the pool

MinimumIdle

The minimum number of idle connections that is maintained in the pool

Username

The default username used for DataSource.getConnection (username, password) calls in the pool

Password

The default password used for DataSource.getConnection (username, password) calls in the pool

LeakDetectionThreshold

The amount of time that a connection can be out of the pool before a message is logged indicating a possible connection leak