]> granicus.if.org Git - postgresql/commitdiff
Update FreeBSD kernel configuration documentation.
authorBruce Momjian <bruce@momjian.us>
Mon, 27 Aug 2012 03:21:45 +0000 (23:21 -0400)
committerBruce Momjian <bruce@momjian.us>
Mon, 27 Aug 2012 03:21:57 +0000 (23:21 -0400)
Brad Davis

doc/src/sgml/runtime.sgml

index 9cc9d4260a9f69063b14034a6c4a88f740a007d3..36982b748a42e2a008e960584d1ffa8628657e86 100644 (file)
@@ -743,9 +743,9 @@ psql: could not connect to server: No such file or directory
         <command>loader</command> interfaces.  The following
         parameters can be set using <command>sysctl</command>:
 <screen>
-<prompt>$</prompt> <userinput>sysctl -w kern.ipc.shmall=32768</userinput>
-<prompt>$</prompt> <userinput>sysctl -w kern.ipc.shmmax=134217728</userinput>
-<prompt>$</prompt> <userinput>sysctl -w kern.ipc.semmap=256</userinput>
+<prompt>#</prompt> <userinput>sysctl kern.ipc.shmall=32768</userinput>
+<prompt>#</prompt> <userinput>sysctl kern.ipc.shmmax=134217728</userinput>
+<prompt>#</prompt> <userinput>sysctl kern.ipc.semmap=256</userinput>
 </screen>
         To have these settings persist over reboots, modify
         <filename>/etc/sysctl.conf</filename>.
@@ -753,15 +753,15 @@ psql: could not connect to server: No such file or directory
 
        <para>
         The remaining semaphore settings are read-only as far as
-        <command>sysctl</command> is concerned, but can be changed
-        before boot using the <command>loader</command> prompt:
-<screen>
-<prompt>(loader)</prompt> <userinput>set kern.ipc.semmni=256</userinput>
-<prompt>(loader)</prompt> <userinput>set kern.ipc.semmns=512</userinput>
-<prompt>(loader)</prompt> <userinput>set kern.ipc.semmnu=256</userinput>
-</screen>
-        Similarly these can be saved between reboots in
-        <filename>/boot/loader.conf</filename>.
+        <command>sysctl</command> is concerned, but can be set in
+        <filename>/boot/loader.conf</filename>:
+<programlisting>
+kern.ipc.semmni=256
+kern.ipc.semmns=512
+kern.ipc.semmnu=256
+</programlisting>
+        After modifying these values a reboot is required for the new
+        settings to take affect.
        </para>
 
        <para>