Browse Source

Update POSTGRES.md

Added postgresql.conf changes
pull/5/head
Amit Nir 3 years ago
committed by GitHub
parent
commit
e4b2bc29e5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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/postgresql.conf
shared_buffers = 256MB
max_connections = 500
```
Restart postgres and check kamailio access to DB
```
systemctl restart postgresql-12


Loading…
Cancel
Save