Browse Source

increase the max number of connections

pull/1/head
Alan R Evans 5 years ago
parent
commit
89aad8247a
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      POSTGRES.md

+ 7
- 0
POSTGRES.md View File

@ -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


Loading…
Cancel
Save