Re: shmctl EIDRM preventing startup - Mailing list pgsql-general

From Tom Lane
Subject Re: shmctl EIDRM preventing startup
Date
Msg-id 20613.1183343941@sss.pgh.pa.us
Whole thread Raw
In response to Re: shmctl EIDRM preventing startup  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: shmctl EIDRM preventing startup  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-general
Alvaro Herrera <alvherre@commandprompt.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

pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: shmctl EIDRM preventing startup
Next
From: Casey Crosbie
Date:
Subject: Re: Can't change working directory to C:/Documents and Settings in Windows