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

Commit82ce2fe

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 parent4b1812b commit82ce2fe

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
@@ -794,25 +794,27 @@ options "SEMMNS=240"
794794
<command>loader</command> interfaces. The following
795795
parameters can be set using <command>sysctl</command>:
796796
<screen>
797-
<prompt>$</prompt> <userinput>sysctl -w kern.ipc.shmall=32768</userinput>
798-
<prompt>$</prompt> <userinput>sysctl -w kern.ipc.shmmax=134217728</userinput>
799-
<prompt>$</prompt> <userinput>sysctl -w kern.ipc.semmap=256</userinput>
797+
<prompt>#</prompt> <userinput>sysctl kern.ipc.shmall=32768</userinput>
798+
<prompt>#</prompt> <userinput>sysctl kern.ipc.shmmax=134217728</userinput>
800799
</screen>
801-
Tohave these settings persist over reboots, modify
800+
Tomake these settings persist over reboots, modify
802801
<filename>/etc/sysctl.conf</filename>.
803802
</para>
804803

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

818820
<para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp