/etc/sysctl.d/30-postgresql-shm.conf is in postgresql-common 154.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | # Shared memory settings for PostgreSQL on Linux
# The settings here are upper limits; performance is not affected if the
# settings are larger than necessary. If other programs use shared memory as
# well, you will have to coordinate the size settings between them.
# Maximum size of a single shared memory segment in bytes
#kernel.shmmax = 33554432
# Maximum total size of all shared memory segments in pages (normally 4096 bytes)
#kernel.shmall = 2097152
|