Re: shmget fails on OS X with proper settings

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Christopher S Martin" <martin(dot)christopher(dot)s(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: shmget fails on OS X with proper settings
Date: 2007-05-06 23:22:45
Message-ID: 17586.1178493765@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Christopher S Martin" <martin(dot)christopher(dot)s(at)gmail(dot)com> writes:
> I was previous running postgres 8.2.1 on my OS X 10.4.9 laptop with no problems.
> After I sent it to apple care, I found that I can no longer start the
> postmaster daemon. When I try, I receive the standard shmget failed
> error message:

> FATAL: could not create shared memory segment: Cannot allocate memory
> DETAIL: Failed system call was shmget(key=5432001, size=4112384, 03600).

What are the *actual* sysv parameters, as shown by

sysctl -a | grep sysv.shm

? OS X is notoriously unfriendly about letting people change the values
it adopts at bootup ...

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Scott Ribe 2007-05-06 23:31:04 Re: shmget fails on OS X with proper settings
Previous Message Sinead O Brien 2007-05-06 23:15:16 Re: did not find any relation for existing table