summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/FAQ_BSDI8
-rw-r--r--doc/src/sgml/runtime.sgml11
2 files changed, 18 insertions, 1 deletions
diff --git a/doc/FAQ_BSDI b/doc/FAQ_BSDI
index d6c55f827d0..030beb6fe84 100644
--- a/doc/FAQ_BSDI
+++ b/doc/FAQ_BSDI
@@ -21,6 +21,14 @@ to your /etc/login.conf file.
2a) By default, only 4MB of shared memory is supported by BSDI. Keep in
mind that shared memory is not pageable. It is locked in RAM.
+The shared memory parameters are:
+
+#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) */
+
To increase the number of buffers supported by the postmaseter, add the
following to your kernel config file. A SHMALL value of 1024
represents 4MB of shared memory. Increase it accordingly:
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: