Re: shmget fails on OS X with proper settings

From: Jim Nasby <decibel(at)decibel(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Christopher S Martin <martin(dot)christopher(dot)s(at)gmail(dot)com>, "Prashant Ranjalkar" <prashant(dot)ranjalkar(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: shmget fails on OS X with proper settings
Date: 2007-05-07 15:42:17
Message-ID: 8243256B-71C0-4A1F-916E-1BF33C9826EA@decibel.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On May 7, 2007, at 9:11 AM, Tom Lane wrote:
> I believe BTW that you
> need to do "sudo ipcs -a" to be sure of seeing everything; otherwise
> OS X's ipcs silently doesn't tell you about segments your userid
> doesn't
> have access to.

Actually, it seems that you don't get anything back when ipcs is run
as non-root...

decibel(at)platter(dot)1[10:41]~/pgsql/HEAD:58%ipcs -a|grep decibel
decibel(at)platter(dot)1[10:41]~/pgsql/HEAD:59%sudo ipcs -a|grep decibel
m 3080191 5555001 --rw------- decibel decibel decibel
decibel 3 38133760 11042 11042 9:00:53 10:41:53 9:00:53
--
Jim Nasby jim(at)nasby(dot)net
EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jim Nasby 2007-05-07 15:44:35 Re: Slow query and indexes...
Previous Message Pavel Stehule 2007-05-07 14:44:33 Re: Any "guide to indexes" exists?