|
1 | 1 | <!--
|
2 |
| -$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.361 2006/01/05 03:01:33 momjian Exp $ |
| 2 | +$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.362 2006/03/02 20:30:21 momjian Exp $ |
3 | 3 | -->
|
4 | 4 |
|
5 | 5 | <chapter Id="runtime">
|
@@ -886,19 +886,19 @@ sysctl -w kern.sysv.shmall
|
886 | 886 | changes take effect.
|
887 | 887 | </para>
|
888 | 888 |
|
889 |
| -<!-- |
890 |
| -It might appear that we could recommend putting sysctl settings into |
891 |
| -/etc/sysctl.conf so that they aren't destroyed by OS version updates. |
892 |
| -This does not work as of OS X 10.4.2, however, because /etc/rc |
893 |
| -promptly overrides whatever SHM settings are read from sysctl.conf :-( |
894 |
| -Perhaps someday we can recommend this ... |
895 |
| ---> |
| 889 | + <para> |
| 890 | + In OS X 10.3.9 and later, the file <filename>/etc/sysctl.conf</> |
| 891 | + allows shared memory setting to be saved across operating system |
| 892 | + upgrades, and is the recommended method for setting these |
| 893 | + parameters. When using this file, all five shared memory values |
| 894 | + must be set or the changes will be ignored. |
| 895 | + </para> |
896 | 896 |
|
897 | 897 | <para>
|
898 |
| - <varname>SHMALL</> is measured in 4KB pages on this platform. |
899 |
| - Also note that some releases of OS X will reject attempts to |
900 |
| - set <varname>SHMMAX</> to a value that isn't an exact multiple |
901 |
| - of 4096. |
| 898 | + <varname>SHMALL</> is measured in 4KB pages on this platform, |
| 899 | + and recent releases of OS X reject attempts to set |
| 900 | + <varname>SHMALL</> and <varname>SHMMAX</> to a value |
| 901 | + that isn't an exact multiple of 4096. |
902 | 902 | </para>
|
903 | 903 | </listitem>
|
904 | 904 | </varlistentry>
|
|
0 commit comments