Re: shared memory leak in 7.0.2? - Mailing list pgsql-sql

From Tom Lane
Subject Re: shared memory leak in 7.0.2?
Date
Msg-id 16521.967483582@sss.pgh.pa.us
Whole thread Raw
In response to shared memory leak in 7.0.2?  (pierre@kahuna.versions.com)
List pgsql-sql
Pierre Padovani <ppadovan@tivoli.com> writes:
>   Here is the current output of that ipc command:

Looks pretty reasonable --- the three shmem segments look to be about
what postgres should be using (I take it you've got -B set to 350 or
so).

>  If postgres were to crash for some reason. Would the shared memory be
> left in never never land?

In theory the postmaster should release those segments when it's shut
down, or failing that reuse 'em when it's restarted.  We have heard
occasional reports of this failing to happen on some platforms; but
again, unless you're restarting the postmaster on a regular basis that
doesn't seem like it'd be the issue.  Anyway, keep an eye on things with
ipcs and we'll see what's going on...
        regards, tom lane


pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: shared memory leak in 7.0.2?
Next
From: Pierre Padovani
Date:
Subject: Re: shared memory leak in 7.0.2?