Commit 487b7f5d authored by Bruce Momjian's avatar Bruce Momjian

Update OS X shared memory documentation for 10.3.9 and later to use

/etc/sysctl.conf.

Chris Campbell
parent 33a84bb3
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.361 2006/01/05 03:01:33 momjian Exp $ $PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.362 2006/03/02 20:30:21 momjian Exp $
--> -->
<chapter Id="runtime"> <chapter Id="runtime">
...@@ -886,19 +886,19 @@ sysctl -w kern.sysv.shmall ...@@ -886,19 +886,19 @@ sysctl -w kern.sysv.shmall
changes take effect. changes take effect.
</para> </para>
<!-- <para>
It might appear that we could recommend putting sysctl settings into In OS X 10.3.9 and later, the file <filename>/etc/sysctl.conf</>
/etc/sysctl.conf so that they aren't destroyed by OS version updates. allows shared memory setting to be saved across operating system
This does not work as of OS X 10.4.2, however, because /etc/rc upgrades, and is the recommended method for setting these
promptly overrides whatever SHM settings are read from sysctl.conf :-( parameters. When using this file, all five shared memory values
Perhaps someday we can recommend this ... must be set or the changes will be ignored.
--> </para>
<para> <para>
<varname>SHMALL</> is measured in 4KB pages on this platform. <varname>SHMALL</> is measured in 4KB pages on this platform,
Also note that some releases of OS X will reject attempts to and recent releases of OS X reject attempts to set
set <varname>SHMMAX</> to a value that isn't an exact multiple <varname>SHMALL</> and <varname>SHMMAX</> to a value
of 4096. that isn't an exact multiple of 4096.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment