Date: Sun, 02 Apr 2006 21:06:25 -0400 From: Tom Lane <tgl@sss.pgh.pa.us> To: "Marc G. Fournier" <scrappy@postgresql.org> Cc: pgsql-hackers@postgresql.org, freebsd-stable@freebsd.org, Kris Kennaway <kris@obsecurity.org> Subject: Re: [HACKERS] semaphore usage "port based"? Message-ID: <26524.1144026385@sss.pgh.pa.us> In-Reply-To: <20060402213921.V947@ganymede.hub.org> References: <20060402163504.T947@ganymede.hub.org> <25422.1144016604@sss.pgh.pa.us> <25526.1144017388@sss.pgh.pa.us> <20060402213921.V947@ganymede.hub.org>
next in thread | previous in thread | raw e-mail | index | archive | help
"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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?26524.1144026385>