@@ -21,12 +21,13 @@ to your /etc/login.conf file.
21
21
2a) By default, only 4MB of shared memory is supported by BSDI. Keep in
22
22
mind that shared memory is not pageable. It is locked in RAM.
23
23
24
- To increase the number of buffers supported by the postmaseter, increase
25
- SHMMAXPGS by 1024 for every additional 4MB of shared memory:
24
+ To increase the number of buffers supported by the postmaseter, add the
25
+ following to your kernel config file. A SHMMAXPGS value of 1024
26
+ represents 4MB of shared memory. Increase it accordingly:
26
27
27
- /sys/sys/shm.h:69:#define SHMMAXPGS 1024 /* max hardware pages...
28
+ options " SHMMAXPGS=4096"
28
29
29
- The defaultsetting of 1024is for a maximum of 4MB of shared memory.
30
+ The defaultis 1024which allows a maximum of 4MB of shared memory.
30
31
31
32
For those running 4.1 or later, just recompile the kernel and reboot.
32
33
For those running earlier releases, see step 2b.
@@ -42,7 +43,7 @@ the current kernel. This is computed dynamically at bootup.
42
43
Next, change SYSPTSIZE to a hard-coded value. Use the bpatch value,
43
44
plus add 1 for every additional 4MB of shared memory you desire.
44
45
45
- /sys/i386/i386/i386_param.c:28:#define SYSPTSIZE 0 /* dynamically...
46
+ options " SYSPTSIZE=13"
46
47
47
48
sysptsize can not be changed by sysctl on the fly.
48
49