Skip to content

Commit 7a42dff

Browse files
committed
Update FreeBSD kernel configuration documentation.
Brad Davis
1 parent 9ff79b9 commit 7a42dff

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

doc/src/sgml/runtime.sgml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -743,25 +743,25 @@ psql: could not connect to server: No such file or directory
743743
<command>loader</command> interfaces. The following
744744
parameters can be set using <command>sysctl</command>:
745745
<screen>
746-
<prompt>$</prompt> <userinput>sysctl -w kern.ipc.shmall=32768</userinput>
747-
<prompt>$</prompt> <userinput>sysctl -w kern.ipc.shmmax=134217728</userinput>
748-
<prompt>$</prompt> <userinput>sysctl -w kern.ipc.semmap=256</userinput>
746+
<prompt>#</prompt> <userinput>sysctl kern.ipc.shmall=32768</userinput>
747+
<prompt>#</prompt> <userinput>sysctl kern.ipc.shmmax=134217728</userinput>
748+
<prompt>#</prompt> <userinput>sysctl kern.ipc.semmap=256</userinput>
749749
</screen>
750750
To have these settings persist over reboots, modify
751751
<filename>/etc/sysctl.conf</filename>.
752752
</para>
753753

754754
<para>
755755
The remaining semaphore settings are read-only as far as
756-
<command>sysctl</command> is concerned, but can be changed
757-
before boot using the <command>loader</command> prompt:
758-
<screen>
759-
<prompt>(loader)</prompt> <userinput>set kern.ipc.semmni=256</userinput>
760-
<prompt>(loader)</prompt> <userinput>set kern.ipc.semmns=512</userinput>
761-
<prompt>(loader)</prompt> <userinput>set kern.ipc.semmnu=256</userinput>
762-
</screen>
763-
Similarly these can be saved between reboots in
764-
<filename>/boot/loader.conf</filename>.
756+
<command>sysctl</command> is concerned, but can be set in
757+
<filename>/boot/loader.conf</filename>:
758+
<programlisting>
759+
kern.ipc.semmni=256
760+
kern.ipc.semmns=512
761+
kern.ipc.semmnu=256
762+
</programlisting>
763+
After modifying these values a reboot is required for the new
764+
settings to take affect.
765765
</para>
766766

767767
<para>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy