Re: semaphore usage "port based"? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: semaphore usage "port based"?
Date
Msg-id 26524.1144026385@sss.pgh.pa.us
Whole thread Raw
In response to Re: semaphore usage "port based"?  ("Marc G. Fournier" <scrappy@postgresql.org>)
Responses Re: semaphore usage "port based"?  ("Marc G. Fournier" <scrappy@postgresql.org>)
List pgsql-hackers
"Marc G. Fournier" <scrappy@postgresql.org> writes:
> On Sun, 2 Apr 2006, Tom Lane wrote:
>> BTW, even before doing that, you should look at "ipcs -s" output to try 
>> to get a clue what's going on.  The EINVAL failures may be because the 
>> second postmaster to start deletes the semaphores created by the first 
>> one.  You could easily see this happening in before-and-after ipcs data 
>> if so.

> You are right ...

OK, could we see strace (or whatever BSD calls it) output for the second
postmaster?  I'd like to see exactly what results it's getting for the
kernel calls it makes during IpcSemaphoreCreate.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Jonah H. Harris"
Date:
Subject: Re: WAL Bypass for indexes
Next
From: Tom Lane
Date:
Subject: Re: Suggestion: Which Binary?