Commit 7a42dff4 authored by Bruce Momjian's avatar Bruce Momjian

Update FreeBSD kernel configuration documentation.

Brad Davis
parent 9ff79b9d
...@@ -743,9 +743,9 @@ psql: could not connect to server: No such file or directory ...@@ -743,9 +743,9 @@ psql: could not connect to server: No such file or directory
<command>loader</command> interfaces. The following <command>loader</command> interfaces. The following
parameters can be set using <command>sysctl</command>: parameters can be set using <command>sysctl</command>:
<screen> <screen>
<prompt>$</prompt> <userinput>sysctl -w kern.ipc.shmall=32768</userinput> <prompt>#</prompt> <userinput>sysctl kern.ipc.shmall=32768</userinput>
<prompt>$</prompt> <userinput>sysctl -w kern.ipc.shmmax=134217728</userinput> <prompt>#</prompt> <userinput>sysctl kern.ipc.shmmax=134217728</userinput>
<prompt>$</prompt> <userinput>sysctl -w kern.ipc.semmap=256</userinput> <prompt>#</prompt> <userinput>sysctl kern.ipc.semmap=256</userinput>
</screen> </screen>
To have these settings persist over reboots, modify To have these settings persist over reboots, modify
<filename>/etc/sysctl.conf</filename>. <filename>/etc/sysctl.conf</filename>.
...@@ -753,15 +753,15 @@ psql: could not connect to server: No such file or directory ...@@ -753,15 +753,15 @@ psql: could not connect to server: No such file or directory
<para> <para>
The remaining semaphore settings are read-only as far as The remaining semaphore settings are read-only as far as
<command>sysctl</command> is concerned, but can be changed <command>sysctl</command> is concerned, but can be set in
before boot using the <command>loader</command> prompt: <filename>/boot/loader.conf</filename>:
<screen> <programlisting>
<prompt>(loader)</prompt> <userinput>set kern.ipc.semmni=256</userinput> kern.ipc.semmni=256
<prompt>(loader)</prompt> <userinput>set kern.ipc.semmns=512</userinput> kern.ipc.semmns=512
<prompt>(loader)</prompt> <userinput>set kern.ipc.semmnu=256</userinput> kern.ipc.semmnu=256
</screen> </programlisting>
Similarly these can be saved between reboots in After modifying these values a reboot is required for the new
<filename>/boot/loader.conf</filename>. settings to take affect.
</para> </para>
<para> <para>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment