NextGen Knowledge Center

Connection Pooling

When multiple nodes share a single database, the maximum number of allowed connections can be reached very quickly. Mirth® Connect itself uses two database connection pools. The size for each is configured using the database.max-connections setting in the mirth.properties file. The default size is 20, yielding a maximum of 40 open connections across both pools. The Advanced Clustering plugin uses several connection pools, which can open up to 12 connections combined; therefore, with the default database.max-connections setting, we recommend configuring the shared database to allow at least n • 52 maximum connections, where n = the number of nodes in the cluster.