Update BSDI SGML.
authorBruce Momjian
Fri, 16 Feb 2001 16:10:06 +0000 (16:10 +0000)
committerBruce Momjian
Fri, 16 Feb 2001 16:10:06 +0000 (16:10 +0000)
doc/FAQ_BSDI
doc/src/sgml/runtime.sgml

index 09abb57d0993bdfa58e4c6838bd1d545b9dc69a5..bc678026afb747cfc624cfe96479104cade5e695 100644 (file)
@@ -11,7 +11,7 @@ Bruce Momjian ([email protected])  2000-07-7
 1)  To increase the amount of malloc'ed memory and files opened by
 PostgreSQL, add this:
 
-          :datasize-cur=600M:\
+          :datasize-cur=256M:\
           :openfiles-cur=256:
 
 to your /etc/login.conf file.
index e26662117e1c6c3213fa74df0e57cb00dd9b4810..a003c7278554d978e3b4d807274823d28a8016b5 100644 (file)
@@ -1,5 +1,5 @@
 
 
 
@@ -1536,14 +1536,13 @@ env PGOPTIONS='-c geqo=off' psql
         
          By default, only 4 MB of shared memory is supported. Keep in
          mind that shared memory is not pageable; it is locked in RAM.
-         To increase the number of buffers supported by the
-         postmaster, increase SHMMAXPGS by 1024 for every
-         additional 4 MB of shared memory:
+    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:
 
-/sys/sys/shm.h:69:#define       SHMMAXPGS       1024    /* max hardware pages... */
+options "SHMALL=4096"
+options "SHMMAX=\(SHMALL*PAGE_SIZE\)"
 
-         The default setting of 1024 provides a maximum of 4 MB of shared
-         memory.
         
        
 
@@ -1561,7 +1560,7 @@ $ bpatch -r sysptsize
         the bpatch value, plus add 1 for every additional 4 MB 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.