mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
Update OS X shared memory documentation for 10.3.9 and later to use
/etc/sysctl.conf. Chris Campbell
This commit is contained in:
parent
3fb582c3bc
commit
5e4bf929b3
@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.357 2005/11/04 23:14:01 petere Exp $
|
$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.357.2.1 2006/03/02 20:30:33 momjian Exp $
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<chapter Id="runtime">
|
<chapter Id="runtime">
|
||||||
@ -887,19 +887,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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user