summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2001-02-16 19:43:52 +0000
committerBruce Momjian <bruce@momjian.us>2001-02-16 19:43:52 +0000
commit64a1b6263db10d1241c23a9398d6ab1f017057de (patch)
treea964bf56fc85309e0514c1f1b43aeb1e71e48a05 /doc/src
parent88c55990ce5570b149379b34e70b936215ef3882 (diff)
Update bsdi shared memory stuff.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/runtime.sgml11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml
index 35917084f03..0fef262bf23 100644
--- a/doc/src/sgml/runtime.sgml
+++ b/doc/src/sgml/runtime.sgml
@@ -1,5 +1,5 @@
<!--
-$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.53 2001/02/16 19:27:19 momjian Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.54 2001/02/16 19:43:52 momjian Exp $
-->
<Chapter Id="runtime">
@@ -1536,6 +1536,15 @@ env PGOPTIONS='-c geqo=off' psql
<para>
By default, only 4 MB of shared memory is supported. Keep in
mind that shared memory is not pageable; it is locked in RAM.
+ The shared memory parameters are:
+<programlisting>
+#define SHMMAX /* max shared memory segment size (bytes) */
+#define SHMMIN /* min shared memory segment size (bytes) */
+#define SHMMNI /* max number of shared memory identifiers */
+#define SHMSEG /* max shared memory segments per process */
+#define SHMALL /* max amount of shared memory (pages) */
+</programlisting>
+
To increase the number of buffers supported by the postmaseter, add the
following to your kernel config file. A <varname>SHMALL</> value of 1024
represents 4MB of shared memory. Increase it accordingly: