Files
zulip/puppet/zulip_internal/files/postgresql/40-postgresql.conf.slave
Tim Abbott b5979a3fed [manual]: Rename zulip-internal puppet module to zulip_internal.
(imported from commit 64ac7ec0f3495b1fe7810da3d4d41263c52b9b3b)
2013-11-05 17:06:32 -05:00

15 lines
373 B
Plaintext

# Shared memory settings for PostgreSQL
# Maximum total size of shared memory in pages (normally 4096 bytes)
kernel.shmall = 1703936
# Maximum size of shared memory segment in bytes
kernel.shmmax = 6979321856
# Virtual memory settings
vm.swappiness = 0
vm.overcommit_memory = 2
# These are the defaults on newer kernels
vm.dirty_ratio = 10
vm.dirty_background_ratio = 5