Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to set max/min connections in database monitoring using Docker env variables?

Emircan Sentürk
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 16, 2024

Hello Community,

we want to increase the min/max values for the database connection pools using Docker environment variables instead of the dbconfig.xml file. However, the min/max values are not being updated through the Docker environment variables.

Here are the environment variables we are currently using for the database connection pools:

  • ATL_DB_POOLMAXSIZE=200
  • ATL_DB_POOLMINSIZE=20
  • ATL_DB_MAXIDLE=200
  • ATL_DB_MINIDLE=20

We have also changed the max_connections in the postgresql.conf file.

 

This is how our databse connection pool currently looks:

Bildschirmfoto vom 2024-10-17 08-42-34.png

 

Thank you in advance 

1 answer

0 votes
Bert van Dijk _TMC_nl_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 18, 2024

Hi @Emircan Sentürk ,

 

Maybe a strange question, but why would you like to change the variable? At the moment, 40 connections are available, but there is no need to change it?

 

Kind regards,

Bert

Emircan Sentürk
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 22, 2024

Hi @Bert van Dijk _TMC_nl_ ,

 

I'd like to proactively increase the number of connections to handle future load spikes and potential integrations, to ensure long-term system stability, and also to learn how to adjust it as needed.

 

Kind regards,

Emircan

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events