update postgres conf
This commit is contained in:
@ -61,7 +61,7 @@ external_pid_file = '/var/run/postgresql/12-main.pid' # write an extra PID fil
|
|||||||
# defaults to 'localhost'; use '*' for all
|
# defaults to 'localhost'; use '*' for all
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
port = 5432 # (change requires restart)
|
port = 5432 # (change requires restart)
|
||||||
max_connections = 100 # (change requires restart)
|
max_connections = 1200 # (change requires restart)
|
||||||
#superuser_reserved_connections = 3 # (change requires restart)
|
#superuser_reserved_connections = 3 # (change requires restart)
|
||||||
unix_socket_directories = '/var/run/postgresql' # comma-separated list of directories
|
unix_socket_directories = '/var/run/postgresql' # comma-separated list of directories
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
@ -118,7 +118,7 @@ ssl_key_file = '/etc/ssl/private/ssl-cert-snakeoil.key'
|
|||||||
|
|
||||||
# - Memory -
|
# - Memory -
|
||||||
|
|
||||||
shared_buffers = 128MB # min 128kB
|
shared_buffers = 512MB # min 128kB
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#huge_pages = try # on, off, or try
|
#huge_pages = try # on, off, or try
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
|
|||||||
Reference in New Issue
Block a user