Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7a42dff

Browse files
committed
Update FreeBSD kernel configuration documentation.
Brad Davis
1 parent9ff79b9 commit7a42dff

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 bechanged
757-
before boot using the <command>loader</command> prompt:
758-
<screen>
759-
<prompt>(loader)</prompt> <userinput>setkern.ipc.semmni=256</userinput>
760-
<prompt>(loader)</prompt> <userinput>setkern.ipc.semmns=512</userinput>
761-
<prompt>(loader)</prompt> <userinput>setkern.ipc.semmnu=256</userinput>
762-
</screen>
763-
Similarlythesecan be saved between reboots in
764-
<filename>/boot/loader.conf</filename>.
756+
<command>sysctl</command> is concerned, but can beset 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 modifyingthesevalues a reboot is required for the new
764+
settings to take affect.
765765
</para>
766766

767767
<para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp