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

Memory Errors OS X

From: Jeffrey Melloy <jmelloy(at)visualdistortion(dot)org>
To: pgsql general list <pgsql-general(at)postgresql(dot)org>
Subject: Memory Errors OS X
Date: 2004-12-22 20:44:13
Message-ID: 41C9DC9D.8040909@visualdistortion.org (view raw or flat)
Thread:
Lists: pgsql-general
I attempted to install 8.0 RC 2 alongside 7.4.5 on my OS X box, but 
initdb failed with an error about not enough shared memory.

Remembering that this was a problem for starting two postmasters at the 
same time on OS X, I increased the shmmax value to 500 megabytes (I had 
seen something say raising it to half the available ram would be fine), 
but when I rebooted my machine neither 8.0 or 7.4.5 would start.

So I lowered it to 256 megabytes, thinking there might be an upper limit 
on that kind of stuff.  When I rebooted my machine, 7.4.5 starts fine, 
but 8.0 still will not start alongside it.

I don't particularly need both postmasters running at the same time, but 
I would like to figure out the solution to this problem.

(By the way, in the course of this I attempted to manually run /etc/rc 
... there were humorous results and my computer didn't really like it:  
http://www.visualdistortion.org/misc/dont_do_this.png)

Jeffrey Melloy
jmelloy(at)visualdistortion(dot)org

Responses

pgsql-general by date

Next:From: Greg StarkDate: 2004-12-22 20:58:40
Subject: Re: postgresql.conf
Previous:From: Frank D. Engel, Jr.Date: 2004-12-22 20:34:07
Subject: Re: postgresql.conf

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