|
1 | 1 | <!-- |
2 | | -$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.354 2005/10/15 20:12:33 neilc Exp $ |
| 2 | +$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.355 2005/10/16 21:22:12 tgl Exp $ |
3 | 3 | --> |
4 | 4 |
|
5 | 5 | <chapter Id="runtime"> |
@@ -879,14 +879,27 @@ sysctl -w kern.sysv.shmmni |
879 | 879 | sysctl -w kern.sysv.shmseg |
880 | 880 | sysctl -w kern.sysv.shmall |
881 | 881 | </programlisting> |
882 | | - In OS X 10.3, these commands have been moved to <filename>/etc/rc</> |
883 | | - and must be edited there. You'll need to reboot to make changes |
884 | | - take effect. Note that <filename>/etc/rc</> is usually |
885 | | - overwritten by OS X updates (such as 10.3.6 to 10.3.7) so you |
886 | | - should expect to have to redo your editing after each update. |
| 882 | + In OS X 10.3 and later, these commands have been moved to |
| 883 | + <filename>/etc/rc</> and must be edited there. Note that |
| 884 | + <filename>/etc/rc</> is usually overwritten by OS X updates (such as |
| 885 | + 10.3.6 to 10.3.7) so you should expect to have to redo your editing |
| 886 | + after each update. In all versions, you'll need to reboot to make |
| 887 | + changes take effect. |
887 | 888 | </para> |
| 889 | + |
| 890 | +<!-- |
| 891 | +It might appear that we could recommend putting sysctl settings into |
| 892 | +/etc/sysctl.conf so that they aren't destroyed by OS version updates. |
| 893 | +This does not work as of OS X 10.4.2, however, because /etc/rc |
| 894 | +promptly overrides whatever SHM settings are read from sysctl.conf :-( |
| 895 | +Perhaps someday we can recommend this ... |
| 896 | +--> |
| 897 | + |
888 | 898 | <para> |
889 | 899 | <varname>SHMALL</> is measured in 4KB pages on this platform. |
| 900 | + Also note that some releases of OS X will reject attempts to |
| 901 | + set <varname>SHMMAX</> to a value that isn't an exact multiple |
| 902 | + of 4096. |
890 | 903 | </para> |
891 | 904 | </listitem> |
892 | 905 | </varlistentry> |
|