Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 487b7f5

Browse files
committed
Update OS X shared memory documentation for 10.3.9 and later to use
/etc/sysctl.conf. Chris Campbell
1 parent 33a84bb commit 487b7f5

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

doc/src/sgml/runtime.sgml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
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 $
33
-->
44

55
<chapter Id="runtime">
@@ -886,19 +886,19 @@ sysctl -w kern.sysv.shmall
886886
changes take effect.
887887
</para>
888888

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>
896896

897897
<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.
902902
</para>
903903
</listitem>
904904
</varlistentry>

0 commit comments

Comments
 (0)