From d7bdfab492b3bae76263897880a2ae4163e4044c Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 1 Oct 2001 22:44:31 +0000 Subject: [PATCH] Fix typo (block size is 8 kB not 8192 kB). --- doc/src/sgml/runtime.sgml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml index 19ed4a45c8..2cf6ee8d57 100644 --- a/doc/src/sgml/runtime.sgml +++ b/doc/src/sgml/runtime.sgml @@ -1,5 +1,5 @@ @@ -565,7 +565,7 @@ env PGOPTIONS='-c geqo=off' psql the disk cache (that is, the portion of the kernel's disk cache that will be used for Postgres data files). This is - measured in disk pages, which are normally 8kB apiece. + measured in disk pages, which are normally 8 kB apiece. @@ -1811,7 +1811,7 @@ dynamic_library_path = '/usr/local/lib/postgresql:/home/my_project/lib:$libdir' SHMMAX Maximum size of shared memory segment (bytes) - 250 kB + 8.2kB * shared_buffers + 14.2kB * max_connections or infinity + 250kB + 8.2kB * shared_buffers + 14.2kB * max_connections or infinity @@ -1886,7 +1886,7 @@ dynamic_library_path = '/usr/local/lib/postgresql:/home/my_project/lib:$libdir' (You can therefore, as a temporary solution, lower these settings to get rid of the failures.) As a rough approximation you can estimate the required segment size as the number of buffers times - the block size (8192 kB by default) plus ample overhead (at least + the block size (8 kB by default) plus ample overhead (at least half a megabyte). Any error message you might get will contain the size of the failed allocation request.