Re: Postmaster.pid - what do the various lines stand for?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Paul Linehan <linehanp(at)tcd(dot)ie>
Cc: "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Postmaster.pid - what do the various lines stand for?
Date: 2015-05-06 22:13:09
Message-ID: 8720.1430950389@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Paul Linehan <linehanp(at)tcd(dot)ie> writes:
> I'm just not sure what this part means
> * 7 shared memory key (not present on Windows)
> This corresponds to the line " 5432001 2195471"

> I did Google "PostgreSQL shared key" and couldn't find
> anything significant - why are there two numbers?

It's just the way the SysV shared memory API works --- there's a "key"
chosen by the application, and an "identifier" which is chosen by the
kernel, but they're both just identifiers for a particular shared memory
segment. "man 2 shmget" might be informative, or try "sudo ipcs -m"
for a listing of SysV shared memory segments on your system.

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Bruce Momjian 2015-05-09 23:17:10 Re: Why is Hash index not transaction safe.
Previous Message Paul Linehan 2015-05-06 22:00:18 Re: Postmaster.pid - what do the various lines stand for?