Files
zulip/puppet/zulip-internal/files/postgresql/40-postgresql.conf.master
Zev Benjamin dd678465ae [manual] Move puppet modules to the top level
The new puppet.conf file has to be moved into place manually.

(imported from commit 253d9a95386dae8c803a998ce2dc7e8be40c880a)
2013-10-30 15:42:26 -04:00

17 lines
493 B
Plaintext

# Shared memory settings
# Maximum total size of shared memory in pages (normally 4096 bytes)
kernel.shmall = 6553600
# Maximum size of shared memory segment in bytes
kernel.shmmax = 26843545600
# Virtual memory settings
vm.swappiness = 0
vm.overcommit_memory = 2
# We don't want these numbers to be too large or else performance
# will be too spiky. These seem to give a good balance between low
# numbers and sequential write performance
vm.dirty_ratio = 5
vm.dirty_background_ratio = 2