From 89aad8247aca78f81226f30c6060170e9dbddbd9 Mon Sep 17 00:00:00 2001 From: Alan R Evans Date: Tue, 22 Jun 2021 09:56:05 +0000 Subject: [PATCH] increase the max number of connections --- POSTGRES.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/POSTGRES.md b/POSTGRES.md index 70abe9e..a9c2035 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/postgres.conf + +shared_buffers = 256MB +max_connections = 500 +``` Restart postgres and check kamailio access to DB ``` systemctl restart postgresql-12