Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group