@@ -743,25 +743,25 @@ psql: could not connect to server: No such file or directory
743
743
<command>loader</command> interfaces. The following
744
744
parameters can be set using <command>sysctl</command>:
745
745
<screen>
746
- <prompt>$ </prompt> <userinput>sysctl -w kern.ipc.shmall=32768</userinput>
747
- <prompt>$ </prompt> <userinput>sysctl -w kern.ipc.shmmax=134217728</userinput>
748
- <prompt>$ </prompt> <userinput>sysctl -w kern.ipc.semmap=256</userinput>
746
+ <prompt># </prompt> <userinput>sysctl kern.ipc.shmall=32768</userinput>
747
+ <prompt># </prompt> <userinput>sysctl kern.ipc.shmmax=134217728</userinput>
748
+ <prompt># </prompt> <userinput>sysctl kern.ipc.semmap=256</userinput>
749
749
</screen>
750
750
To have these settings persist over reboots, modify
751
751
<filename>/etc/sysctl.conf</filename>.
752
752
</para>
753
753
754
754
<para>
755
755
The remaining semaphore settings are read-only as far as
756
- <command>sysctl</command> is concerned, but can be changed
757
- before boot using the <command> loader</command> prompt :
758
- <screen >
759
- <prompt>(loader)</prompt> <userinput>set kern.ipc.semmni=256</userinput>
760
- <prompt>(loader)</prompt> <userinput>set kern.ipc.semmns=512</userinput>
761
- <prompt>(loader)</prompt> <userinput>set kern.ipc.semmnu=256</userinput>
762
- </screen >
763
- Similarly these can be saved between reboots in
764
- <filename>/boot/loader.conf</filename> .
756
+ <command>sysctl</command> is concerned, but can be set in
757
+ <filename>/boot/ loader.conf</filename> :
758
+ <programlisting >
759
+ kern.ipc.semmni=256
760
+ kern.ipc.semmns=512
761
+ kern.ipc.semmnu=256
762
+ </programlisting >
763
+ After modifying these values a reboot is required for the new
764
+ settings to take affect .
765
765
</para>
766
766
767
767
<para>
0 commit comments