You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When installing the postgresql-ha chart, I cannot set the parameter max_connections for Postgres above 500. I have succesfully set the environnement variable $POSTGRESQL_MAX_CONNECTIONS to 1024 in the pods, I can see it connected to a pod or in my pod description:
POSTGRESQL_MAX_CONNECTIONS: 1024
The value is also present in the configuration file used by postgres:
But when checking what is the applied value in postgres, I get 500:
postgres=# show max_connections;
max_connections
-----------------
500
(1 row)
The only place where I find this value is in the file /bitnami/postgresql/data/postgresql.auto.conf which contains:
I have no name!@pg-ha-postgresql-ha-postgresql-1:/bitnami/postgresql/data$ cat postgresql.auto.conf
# Do not edit this file manually!
# It will be overwritten by the ALTER SYSTEM command.
max_connections = '500'
So I guess an ALTER SYSTEM command must be performed at the init of Posgres to set this variable ? But I have inspected the image scripts, the helm chart, I am not able to determine where this value comes from.
Name and Version
bitnami/postgresql-ha-15.1.0
What architecture are you using?
None
What steps will reproduce the bug?
Hi,
When installing the postgresql-ha chart, I cannot set the parameter
max_connections
for Postgres above 500. I have succesfully set the environnement variable$POSTGRESQL_MAX_CONNECTIONS
to1024
in the pods, I can see it connected to a pod or in my pod description:The value is also present in the configuration file used by postgres:
But when checking what is the applied value in postgres, I get 500:
The only place where I find this value is in the file
/bitnami/postgresql/data/postgresql.auto.conf
which contains:So I guess an ALTER SYSTEM command must be performed at the init of Posgres to set this variable ? But I have inspected the image scripts, the helm chart, I am not able to determine where this value comes from.
Are you using any custom parameters or values?
My value file for the installation is a followed:
What is the expected behavior?
I was expected my
max_connections
setting to be set to 1024.What do you see instead?
The
max_connections
setting is set to 500, and I have no idea where this value comes fromAdditional information
Any help would be greatly appreciated ! Thanks a lot for your time !
The text was updated successfully, but these errors were encountered: