summaryrefslogtreecommitdiffstats
path: root/debian/postgresql-common.sysctl
diff options
context:
space:
mode:
Diffstat (limited to '')
-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
+