Re: shmem_seq may be a bad idea

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: shmem_seq may be a bad idea
Date: 2000-05-02 21:35:57
Message-ID: Pine.LNX.4.21.0005022334270.362-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Thomas Lockhart writes:

> > A while ago while thinking about a way to make ipcclean better I thunk
> > that perhaps the postmaster should write the keys of the segments it gets
> > to a flat-text file. If it somehow crashes and loses track of what it
> > allocated before it can use that information to clean up. Not sure how
> > often that would take effect but it's very socially friendly.
>
> Hmm. Could we write this to a separate shared memory segment?

But how would ipcclean get to the key of *that* segment? I was thinking
file because that'd always be in a known location and could also be
accessible to humans to sort things out by hand or debug stuff.

--
Peter Eisentraut Sernanders väg 10:115
peter_e(at)gmx(dot)net 75262 Uppsala
http://yi.org/peter-e/ Sweden

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-05-02 21:37:55 Re: Proposal for fixing intra-query memory leaks
Previous Message Peter Eisentraut 2000-05-02 21:29:06 Re: Proposal for fixing intra-query memory leaks