|
1 | 1 | <!-- |
2 | | -$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.305 2005/02/26 23:19:05 momjian Exp $ |
| 2 | +$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.306 2005/03/0219:58:54 tgl Exp $ |
3 | 3 | --> |
4 | 4 |
|
5 | 5 | <chapter Id="runtime"> |
@@ -4360,9 +4360,9 @@ options "SEMMNS=240" |
4360 | 4360 | <command>loader</command> interfaces. The following |
4361 | 4361 | parameters can be set using <command>sysctl</command>: |
4362 | 4362 | <screen> |
4363 | | -<prompt>$</prompt> <userinput>systcl -w kern.ipc.shmall=32768</userinput> |
4364 | | -<prompt>$</prompt> <userinput>systcl -w kern.ipc.shmmax=134217728</userinput> |
4365 | | -<prompt>$</prompt> <userinput>systcl -w kern.ipc.semmap=256</userinput> |
| 4363 | +<prompt>$</prompt> <userinput>sysctl -w kern.ipc.shmall=32768</userinput> |
| 4364 | +<prompt>$</prompt> <userinput>sysctl -w kern.ipc.shmmax=134217728</userinput> |
| 4365 | +<prompt>$</prompt> <userinput>sysctl -w kern.ipc.semmap=256</userinput> |
4366 | 4366 | </screen> |
4367 | 4367 | To have these settings persist over reboots, modify |
4368 | 4368 | <filename>/etc/sysctl.conf</filename>. |
@@ -4466,8 +4466,8 @@ option SEMMAP=256 |
4466 | 4466 | and explicitly set the maximum total shared memory size to 2097152 |
4467 | 4467 | pages (the default): |
4468 | 4468 | <screen> |
4469 | | -<prompt>$</prompt> <userinput>systcl -w kernel.shmmax=134217728</userinput> |
4470 | | -<prompt>$</prompt> <userinput>systcl -w kernel.shmall=2097152</userinput> |
| 4469 | +<prompt>$</prompt> <userinput>sysctl -w kernel.shmmax=134217728</userinput> |
| 4470 | +<prompt>$</prompt> <userinput>sysctl -w kernel.shmall=2097152</userinput> |
4471 | 4471 | </screen> |
4472 | 4472 | In addition these settings can be saved between reboots in |
4473 | 4473 | <filename>/etc/sysctl.conf. |
|