From 2783bd50da091bcab46d90911a1e4c6b01597396 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sat, 30 Dec 2000 15:03:09 +0000 Subject: [PATCH] Add mention of sysctl(8) for IPC tuning on Linux. --- doc/src/sgml/runtime.sgml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml index 47b01bb4fa..1a86b5c9bb 100644 --- a/doc/src/sgml/runtime.sgml +++ b/doc/src/sgml/runtime.sgml @@ -1,5 +1,5 @@ @@ -1305,7 +1305,7 @@ env PGOPTIONS='-c geqo=off' psql consistently across different systems; gives an overview. The methods to set them, however, vary; suggestions for some platforms are given - below. Be aware that you will probably have to reboot your + below. Be warned that it is often necessary to reboot your machine at least, possibly even recompile the kernel, to change these settings. @@ -1596,6 +1596,22 @@ options SEMMAP=256 You could put these commands into a script run at boot-time. + + Alternatively, you can use + sysctl + 8, if available, to + control these parameters. Look for a file called + /etc/sysctl.conf and add lines like the + following to it: + +kernel.shmall = 134217728 +kernel.shmmax = 134217728 + + This file is usually processed at boot time, but + sysctl can also be called + explicitly later. + + Other parameters are sufficiently sized for any application. If you want to see for yourself look into -- 2.40.0