Re: two shared memory segments?

From: Ed Loehr <ed(at)loehrtech(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: two shared memory segments?
Date: 2005-12-22 04:18:05
Message-ID: 200512212118.05881.ed@loehrtech.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wednesday December 21 2005 8:24 pm, Tom Lane wrote:
> "Ed L." <pgsql(at)bluepolka(dot)net> writes:
> > I have a cluster configured for ~800MB of shared memory
> > cache (shared_buffers = 100000), but ipcs shows TWO shared
> > memory segments of ~800MB belonging to that postmaster.
> > What kind of a problem do I have here?
>
> I'd say that you had a backend crash, causing the postmaster
> to abandon the original shared memory segment and make a new
> one, but the old segment is still attached to by a couple of
> processes.

Does that make sense even if the creating pid is the same for
both?

> There was a bug awhile back whereby the stats support
> processes failed to detach from shared memory and thus would
> cause a dead shmem segment to hang around like this. What PG
> version are you running?

This is an old 7.3.7 cluster.

Ed

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-12-22 04:34:35 Re: two shared memory segments?
Previous Message Bruce Momjian 2005-12-22 04:13:41 Re: SAVEPOINT performance