summaryrefslogtreecommitdiffstats
path: root/debian/postgresql-common.sysctl
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 12:08:39 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 12:08:39 +0000
commit039175d5d6adfc3f96e3ffdd5ee946576e22233a (patch)
treef1ba3073275e4441e417ed8b149729d0f5122884 /debian/postgresql-common.sysctl
parentAdding upstream version 225+deb11u1. (diff)
downloadpostgresql-common-debian.tar.xz
postgresql-common-debian.zip
Adding debian version 225+deb11u1.debian/225+deb11u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/postgresql-common.sysctl')
-rw-r--r--debian/postgresql-common.sysctl12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/postgresql-common.sysctl b/debian/postgresql-common.sysctl
new file mode 100644
index 0000000..f5e31ec
--- /dev/null
+++ b/debian/postgresql-common.sysctl
@@ -0,0 +1,12 @@
+# 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
+