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

Commitc5e2333

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 parent054fc30 commitc5e2333

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
@@ -753,25 +753,27 @@ psql: could not connect to server: No such file or directory
753753
<command>loader</command> interfaces. The following
754754
parameters can be set using <command>sysctl</command>:
755755
<screen>
756-
<prompt>$</prompt> <userinput>sysctl -w kern.ipc.shmall=32768</userinput>
757-
<prompt>$</prompt> <userinput>sysctl -w kern.ipc.shmmax=134217728</userinput>
758-
<prompt>$</prompt> <userinput>sysctl -w kern.ipc.semmap=256</userinput>
756+
<prompt>#</prompt> <userinput>sysctl kern.ipc.shmall=32768</userinput>
757+
<prompt>#</prompt> <userinput>sysctl kern.ipc.shmmax=134217728</userinput>
759758
</screen>
760-
Tohave these settings persist over reboots, modify
759+
Tomake these settings persist over reboots, modify
761760
<filename>/etc/sysctl.conf</filename>.
762761
</para>
763762

764763
<para>
765-
The remaining semaphore settings are read-only as far as
766-
<command>sysctl</command> is concerned, but can be changed
767-
before boot using the <command>loader</command> prompt:
768-
<screen>
769-
<prompt>(loader)</prompt> <userinput>set kern.ipc.semmni=256</userinput>
770-
<prompt>(loader)</prompt> <userinput>set kern.ipc.semmns=512</userinput>
771-
<prompt>(loader)</prompt> <userinput>set kern.ipc.semmnu=256</userinput>
772-
</screen>
773-
Similarly these can be saved between reboots in
774-
<filename>/boot/loader.conf</filename>.
764+
These semaphore-related settings are read-only as far as
765+
<command>sysctl</command> is concerned, but can be set in
766+
<filename>/boot/loader.conf</filename>:
767+
<programlisting>
768+
kern.ipc.semmni=256
769+
kern.ipc.semmns=512
770+
kern.ipc.semmnu=256
771+
</programlisting>
772+
After modifying these values a reboot is required for the new
773+
settings to take effect.
774+
(Note: FreeBSD does not use <varname>SEMMAP</>. Older versions
775+
would accept but ignore a setting for <literal>kern.ipc.semmap</>;
776+
newer versions reject it altogether.)
775777
</para>
776778

777779
<para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp