« Return to Thread: Setting shmmax in /etc/rc on Mac OS X to install Postgres

Re: Setting shmmax in /etc/rc on Mac OS X to install Postgres

by Shane Ambler-4 :: Rate this Message:

Reply to Author | View in Thread

Tom Lane wrote:

> Shane Ambler <pgsql@...> writes:
>> Also of note - you are setting the shmmax to 4GB which is all of your
>> ram to shared memory. A bit extreme even if it was a postgres only
>> dedicated server.
>
> I have some recollection that OSX treats that as a 32bit number, which
> means you *can't* set it >= 4GB.  Try 1GB or 2GB just to get it working.
>
> regards, tom lane
>

Could be - not a fully 64 bit clean kernel yet?
Maybe that will change with 10.6 - suppose to be a full 64 bit system,
right?

Although does it allow you to allocate 100% or more of physical ram to
shared mem?



--

Shane Ambler
pgSQL (at) Sheeky (dot) Biz


--
Sent via pgsql-novice mailing list (pgsql-novice@...)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-novice

 « Return to Thread: Setting shmmax in /etc/rc on Mac OS X to install Postgres