Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 5ff5bfb

Browse files
committed
Update SysV parameter configuration documentation for FreeBSD.
FreeBSD hasn't made any use of kern.ipc.semmap since 1.1, and newer releases reject attempts to set it altogether; so stop recommending that it be adjusted. Per bug #11161. Back-patch to all supported branches. Before 9.3, also incorporate commit 7a42dff, which touches the same text and for some reason was not back-patched at the time.
1 parent 751b704 commit 5ff5bfb

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

doc/src/sgml/runtime.sgml

+6-4
Original file line numberDiff line numberDiff line change
@@ -747,14 +747,13 @@ psql: could not connect to server: No such file or directory
747747
<screen>
748748
<prompt>#</prompt> <userinput>sysctl kern.ipc.shmall=32768</userinput>
749749
<prompt>#</prompt> <userinput>sysctl kern.ipc.shmmax=134217728</userinput>
750-
<prompt>#</prompt> <userinput>sysctl kern.ipc.semmap=256</userinput>
751750
</screen>
752-
To have these settings persist over reboots, modify
751+
To make these settings persist over reboots, modify
753752
<filename>/etc/sysctl.conf</filename>.
754753
</para>
755754

756755
<para>
757-
The remaining semaphore settings are read-only as far as
756+
These semaphore-related settings are read-only as far as
758757
<command>sysctl</command> is concerned, but can be set in
759758
<filename>/boot/loader.conf</filename>:
760759
<programlisting>
@@ -763,7 +762,10 @@ kern.ipc.semmns=512
763762
kern.ipc.semmnu=256
764763
</programlisting>
765764
After modifying these values a reboot is required for the new
766-
settings to take affect.
765+
settings to take effect.
766+
(Note: FreeBSD does not use <varname>SEMMAP</>. Older versions
767+
would accept but ignore a setting for <literal>kern.ipc.semmap</>;
768+
newer versions reject it altogether.)
767769
</para>
768770

769771
<para>

0 commit comments

Comments
 (0)