8000 Update SysV parameter configuration documentation for FreeBSD. · zyfran/postgres@bdd62aa · GitHub
[go: up one dir, main page]

Skip to content

Commit bdd62aa

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 4f292b5 commit bdd62aa
< 8000 /div>

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

doc/src/sgml/runtime.sgml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -745,14 +745,13 @@ psql: could not connect to server: No such file or directory
745745
<screen>
746746
<prompt>#</prompt> <userinput>sysctl kern.ipc.shmall=32768</userinput>
747747
<prompt>#</prompt> <userinput>sysctl kern.ipc.shmmax=134217728</userinput>
748-
<prompt>#</prompt> <userinput>sysctl kern.ipc.semmap=256</userinput>
749748
</screen>
750-
To have these settings persist over reboots, modify
749+
To make these settings persist over reboots, modify
751750
<filename>/etc/sysctl.conf</filename>.
752751
</para>
753752

754753
<para>
755-
The remaining semaphore settings are read-only as far as
754+
These semaphore-related settings are read-only as far as
756755
<command>sysctl</command> is concerned, but can be set in
757756
<filename>/boot/loader.conf</filename>:
758757
<programlisting>
@@ -761,7 +760,10 @@ kern.ipc.semmns=512
761760
kern.ipc.semmnu=256
762761
</programlisting>
763762
After modifying these values a reboot is required for the new
764-
settings to take affect.
763+
settings to take effect.
764+
(Note: FreeBSD does not use <varname>SEMMAP</>. Older versions
765+
would accept but ignore a setting for <literal>kern.ipc.semmap</>;
766+
newer versions reject it altogether.)
765767
</para>
766768

767769
<para>

0 commit comments

Comments
 (0)
0