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

Commitc53127b

Browse files
committed
Update SysV parameter configuration documentation for FreeBSD.
FreeBSD hasn't made any use of kern.ipc.semmap since 1.1, and newerreleases reject attempts to set it altogether; so stop recommendingthat it be adjusted. Per bug #11161.Back-patch to all supported branches. Before 9.3, also incorporatecommit7a42dff, which touches the same text and for some reasonwas not back-patched at the time.
1 parentf8ab54b commitc53127b

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

‎doc/src/sgml/runtime.sgml

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -787,25 +787,27 @@ options "SEMMNS=240"
787787
<command>loader</command> interfaces. The following
788788
parameters can be set using <command>sysctl</command>:
789789
<screen>
790-
<prompt>$</prompt> <userinput>sysctl -w kern.ipc.shmall=32768</userinput>
791-
<prompt>$</prompt> <userinput>sysctl -w kern.ipc.shmmax=134217728</userinput>
792-
<prompt>$</prompt> <userinput>sysctl -w kern.ipc.semmap=256</userinput>
790+
<prompt>#</prompt> <userinput>sysctl kern.ipc.shmall=32768</userinput>
791+
<prompt>#</prompt> <userinput>sysctl kern.ipc.shmmax=134217728</userinput>
793792
</screen>
794-
Tohave these settings persist over reboots, modify
793+
Tomake these settings persist over reboots, modify
795794
<filename>/etc/sysctl.conf</filename>.
796795
</para>
797796

798797
<para>
799-
The remaining semaphore settings are read-only as far as
800-
<command>sysctl</command> is concerned, but can be changed
801-
before boot using the <command>loader</command> prompt:
802-
<screen>
803-
<prompt>(loader)</prompt> <userinput>set kern.ipc.semmni=256</userinput>
804-
<prompt>(loader)</prompt> <userinput>set kern.ipc.semmns=512</userinput>
805-
<prompt>(loader)</prompt> <userinput>set kern.ipc.semmnu=256</userinput>
806-
</screen>
807-
Similarly these can be saved between reboots in
808-
<filename>/boot/loader.conf</filename>.
798+
These semaphore-related settings are read-only as far as
799+
<command>sysctl</command> is concerned, but can be set in
800+
<filename>/boot/loader.conf</filename>:
801+
<programlisting>
802+
kern.ipc.semmni=256
803+
kern.ipc.semmns=512
804+
kern.ipc.semmnu=256
805+
</programlisting>
806+
After modifying these values a reboot is required for the new
807+
settings to take effect.
808+
(Note: FreeBSD does not use <varname>SEMMAP</>. Older versions
809+
would accept but ignore a setting for <literal>kern.ipc.semmap</>;
810+
newer versions reject it altogether.)
809811
</para>
810812

811813
<para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp