Re: shmctl EIDRM preventing startup

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Michael Fuhr <mike(at)fuhr(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: shmctl EIDRM preventing startup
Date: 2007-07-02 02:39:01
Message-ID: 20613.1183343941@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> Maybe what is happening is that an entirely unrelated process created a
> segment with that ID, attached to it, and then it was deleted. I don't
> know how to check however.

AFAIK, EIDRM should imply that the segment has been IPC_RMID'd but still
exists because there are still processes attached to it. So the thing
to look for is processes still attached. Not 100% sure how to do that,
but I'm sure the info is exposed under /proc somehow...

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Fuhr 2007-07-02 02:58:33 Re: shmctl EIDRM preventing startup
Previous Message Casey Crosbie 2007-07-02 02:38:33 Re: Can't change working directory to C:/Documents and Settings in Windows