From 889dd3c00d1ddd9b2ca77d0154cf52fc664a2049 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 12 Jun 2003 15:58:19 +0000 Subject: [PATCH] Mention need for swap on Linux, and kill -9. --- doc/src/sgml/runtime.sgml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml index 02befb8480..21fb68df97 100644 --- a/doc/src/sgml/runtime.sgml +++ b/doc/src/sgml/runtime.sgml @@ -1,5 +1,5 @@ @@ -2785,10 +2785,12 @@ kernel.shmmax = 134217728 Linux has poor default memory overcommit behavior. Rather than failing if it can not reserve enough memory, it returns success, but later fails when the memory can't be mapped and terminates - the application. To prevent unpredictable process termination, use: + the application with kill -9. To prevent unpredictable + process termination, use: sysctl -w vm.overcommit_memory=3 + Note, you will need enough swap space to cover all your memory needs. -- 2.40.0