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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Shane Ambler <pgsql(at)Sheeky(dot)Biz>
Cc: Doug Graham <duggram(at)gmail(dot)com>, PostgreSQL Novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Setting shmmax in /etc/rc on Mac OS X to install Postgres
Date: 2009-07-03 20:40:16
Message-ID: 25008.1246653616@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Shane Ambler <pgsql(at)Sheeky(dot)Biz> 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

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message ANdreas Wenk 2009-07-03 20:47:25 Re: Configuring autovacuum for the first time...
Previous Message Shane Ambler 2009-07-03 20:31:18 Re: Setting shmmax in /etc/rc on Mac OS X to install Postgres