Files
zulip/servers/puppet/modules/humbug/files/postgresql/40-postgresql.conf.slave
Zev Benjamin 387f63deaa puppet: Add vm sysctl settings to Postgres configs
(imported from commit e557815f490a603da635fb60d39569346a72aa85)
2013-04-22 16:36:09 -04: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