That was a typo in my comment before the code (the nutshell

descriptions after the code are correct). Only shmmax needs to be
multiples of the page size (at least, that's how I interpret the
Darwin code).

Chris Campbell
This commit is contained in:
Bruce Momjian 2006-03-04 03:47:29 +00:00
parent 295615a6ca
commit 26d6054128
1 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.362 2006/03/02 20:30:21 momjian Exp $ $PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.363 2006/03/04 03:47:29 momjian Exp $
--> -->
<chapter Id="runtime"> <chapter Id="runtime">
@ -897,8 +897,8 @@ sysctl -w kern.sysv.shmall
<para> <para>
<varname>SHMALL</> is measured in 4KB pages on this platform, <varname>SHMALL</> is measured in 4KB pages on this platform,
and recent releases of OS X reject attempts to set and recent releases of OS X reject attempts to set
<varname>SHMALL</> and <varname>SHMMAX</> to a value and <varname>SHMMAX</> to a value that isn't an exact
that isn't an exact multiple of 4096. multiple of 4096.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>