Re: POSIX shared memory support
- From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
- To: Stephen Frost <sfrost(at)snowman(dot)net>
- Cc: pgsql-hackers(at)postgresql(dot)org
- Subject: Re: POSIX shared memory support
- Date: Mon, 31 Mar 2008 15:54:12 -0400
- Message-id: <19364.1206993252@sss.pgh.pa.us> <text/plain>
Stephen Frost <sfrost(at)snowman(dot)net> writes:
> Right, I had an idea about that but didn't really want to clutter the
> response to the general idea with it. At least on Linux (I don't know
> if it's the case elsewhere..), creating a POSIX shm ends up creating an
> actual 'file' in /dev/shm/, which you might be able to count the
> hard-links to in order to get an idea of the number of processes using
> it? It was just a thought that struck me, not sure if it's at all
> possible.
That's not gonna work on anything but Linux, AFAIK.
regards, tom lane
Home |
Main Index |
Thread Index