« 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 Tom Lane-2 :: Rate this Message:

Reply to Author | View in Thread

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

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