From e4b2bc29e5be61ea055d333f80f8c48da3c05260 Mon Sep 17 00:00:00 2001 From: Amit Nir Date: Tue, 28 Feb 2023 12:28:58 -0500 Subject: [PATCH] Update POSTGRES.md Added postgresql.conf changes --- POSTGRES.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/POSTGRES.md b/POSTGRES.md index 8c13d6f..2656bac 100644 --- a/POSTGRES.md +++ b/POSTGRES.md @@ -48,6 +48,13 @@ host all all 127.0.0.1/32 password # IPv6 local connections: host all all ::1/128 password ``` +Increase the max number of connections and shared memory +``` +vi /var/lib/pgsql/12/data/postgresql.conf + +shared_buffers = 256MB +max_connections = 500 +``` Restart postgres and check kamailio access to DB ``` systemctl restart postgresql-12