pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter <pmc@citylink.dinoex.sub.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Thomas Munro <thomas.munro@gmail.com>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: 12.2: Howto check memory-leak in worker?
Date: Tue, 5 May 2020 19:54:37 +0200
Message-ID: <20200505175437.GA1980@gate.oper.dinoex.org> (raw)
In-Reply-To: <4101.1588694367@sss.pgh.pa.us>
References: <20200504115649.GA77072@gate.oper.dinoex.org>
	<639a25fc-772e-1694-b249-12d686192a85@aklaver.com>
	<20200504220132.GA67933@gate.oper.dinoex.org>
	<CA+hUKGJt1nMN+u68Qg84L2ffbqKonoJO0r-diV1fgCkYcjtrsA@mail.gmail.com>
	<20200505104507.GA32455@gate.oper.dinoex.org>
	<4101.1588694367@sss.pgh.pa.us>

On Tue, May 05, 2020 at 11:59:27AM -0400, Tom Lane wrote:

! Well, the choice we face is preventing somebody's disk from spinning
! down, versus preventing somebody else from completely corrupting their
! database.  From where I sit that's not a difficult choice, nor one
! that I feel a need to let users second-guess.

Then maybe You see a scenario where that feature would actually
prevent db corruption, while I have not yet found a realistic one.
Instead, what gave me headaches is that ZFS might take a single
tablespace (=pool) offline with the cluster continuing to run - and 
I am not sure if the db is supposed to survive that (mine did, after I
had hit the power button in horror), nor is it easy to protect from
that.
Anyway, I can now switch that feature off per local patch, which is
the second-best solution.
 
! Oooh ... it looks like some of the encryption code paths have neglected
! to call gss_release_buffer.  Will fix, thanks for the report!

Great! So I assume I don't need to send a bug report I had prepared
interim. Feel free to ask me for anything that might be still needed.

cheerio,
PMc





view thread (8+ messages)

Message-ID: <20200505175437.GA1980@gate.oper.dinoex.org>
Permalink:  ../20200505175437.GA1980@gate.oper.dinoex.org/
Also on:    postgresql.org/message-id/20200505175437.GA1980@gate.oper.dinoex.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: pmc@citylink.dinoex.sub.org, tgl@sss.pgh.pa.us, thomas.munro@gmail.com, adrian.klaver@aklaver.com
  Subject: Re: 12.2: Howto check memory-leak in worker?
  In-Reply-To: <20200505175437.GA1980@gate.oper.dinoex.org>
  References: <20200504115649.GA77072@gate.oper.dinoex.org> <639a25fc-772e-1694-b249-12d686192a85@aklaver.com> <20200504220132.GA67933@gate.oper.dinoex.org> <CA+hUKGJt1nMN+u68Qg84L2ffbqKonoJO0r-diV1fgCkYcjtrsA@mail.gmail.com> <20200505104507.GA32455@gate.oper.dinoex.org> <4101.1588694367@sss.pgh.pa.us> <20200505175437.GA1980@gate.oper.dinoex.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox