diff options
author | Bruce Momjian <bruce@momjian.us> | 2001-02-16 00:17:57 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2001-02-16 00:17:57 +0000 |
commit | d50f3cb9eb334a3d691effd3698353db481c2d37 (patch) | |
tree | 158f034f299bd0218e7aa46e5326a9c8cf82f42f | |
parent | b29f68f611e26377306a9ba2210a589b472c8544 (diff) | |
download | postgresql-d50f3cb9eb334a3d691effd3698353db481c2d37.tar.gz postgresql-d50f3cb9eb334a3d691effd3698353db481c2d37.zip |
Update bsdi faq.
-rw-r--r-- | doc/FAQ_BSDI | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/FAQ_BSDI b/doc/FAQ_BSDI index 393b5d04607..f56c55c710a 100644 --- a/doc/FAQ_BSDI +++ b/doc/FAQ_BSDI @@ -21,12 +21,13 @@ 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. -To increase the number of buffers supported by the postmaseter, increase -SHMMAXPGS by 1024 for every additional 4MB of shared memory: +To increase the number of buffers supported by the postmaseter, add the +following to your kernel config file. A SHMMAXPGS value of 1024 +represents 4MB of shared memory. Increase it accordingly: -/sys/sys/shm.h:69:#define SHMMAXPGS 1024 /* max hardware pages... +options "SHMMAXPGS=4096" -The default setting of 1024 is for a maximum of 4MB of shared memory. +The default is 1024 which allows a maximum of 4MB of shared memory. For those running 4.1 or later, just recompile the kernel and reboot. For those running earlier releases, see step 2b. @@ -42,7 +43,7 @@ the current kernel. This is computed dynamically at bootup. Next, change SYSPTSIZE to a hard-coded value. Use the bpatch value, plus add 1 for every additional 4MB of shared memory you desire. -/sys/i386/i386/i386_param.c:28:#define SYSPTSIZE 0 /* dynamically... +options "SYSPTSIZE=13" sysptsize can not be changed by sysctl on the fly. |