pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Don Seiler <don@seiler.us>
To: Vik Fearing <vik.fearing@2ndquadrant.com>
Cc: Vick Khera <vivek@khera.org>
Cc: Postgres General <pgsql-general@postgresql.org>
Subject: Re: Vacuum process waiting on BufferPin
Date: Tue, 14 Aug 2018 09:11:43 -0500
Message-ID: <CAHJZqBByacQJ3_bjbABNxWikJxMZ7SG+SUDtGBO2nCbtRKFROQ@mail.gmail.com> (raw)
In-Reply-To: <712d9ac9-5c7a-ace4-5030-d282573f89bb@2ndquadrant.com>
References: <CAHJZqBDsH07idGPhdiMLVWVU5_YSGVo9DiVCFjNq21ZoBcP4Vg@mail.gmail.com>
	<20180813211506.spvawcczdukdxa4u@alvherre.pgsql>
	<CAHJZqBA5fhYScUba3G6YFoL_A2AxnDzUv9HDG3UQ-JpLbddOhw@mail.gmail.com>
	<CALd+dccyrP=8OQBEck8xdbFLBBCVALNSZ5M5eJx8V14pPU=xFg@mail.gmail.com>
	<CAHJZqBAON7a9LGxf3gAtptoEG6AngHCwCibZGRBYn6dqsSreJQ@mail.gmail.com>
	<CALd+dceTTCsrfOh5BjLos3Rim+GTS0iCDiA0t9L-J-Uv+O-Bpg@mail.gmail.com>
	<CAHJZqBD0ecLukUSVcU=waP93Z9nnxVM2+f9SF9L0wnOVM0Xwpw@mail.gmail.com>
	<712d9ac9-5c7a-ace4-5030-d282573f89bb@2ndquadrant.com>

On Tue, Aug 14, 2018 at 8:58 AM, Vik Fearing <vik.fearing@2ndquadrant.com>
wrote:

>
> There is an idle_in_transaction_session_timeout parameter to kill
> connections that are idle (in transaction) for too long.  It was
> implemented specifically for cases like this.


Thanks for reminding me of this. I'll probably look to set it but make sure
to point out that it is just a safety net to let DB maintenance run and
they should make sure their work is committed cleanly if they want to keep
it.

Don.

-- 
Don Seiler
www.seiler.us

view thread (10+ messages)

Message-ID: <CAHJZqBByacQJ3_bjbABNxWikJxMZ7SG+SUDtGBO2nCbtRKFROQ@mail.gmail.com>
Permalink:  ../CAHJZqBByacQJ3_bjbABNxWikJxMZ7SG+SUDtGBO2nCbtRKFROQ@mail.gmail.com/
Also on:    postgresql.org/message-id/CAHJZqBByacQJ3_bjbABNxWikJxMZ7SG+SUDtGBO2nCbtRKFROQ@mail.gmail.com

 · 

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: don@seiler.us, vik.fearing@2ndquadrant.com, vivek@khera.org
  Subject: Re: Vacuum process waiting on BufferPin
  In-Reply-To: <CAHJZqBByacQJ3_bjbABNxWikJxMZ7SG+SUDtGBO2nCbtRKFROQ@mail.gmail.com>
  References: <CAHJZqBDsH07idGPhdiMLVWVU5_YSGVo9DiVCFjNq21ZoBcP4Vg@mail.gmail.com> <20180813211506.spvawcczdukdxa4u@alvherre.pgsql> <CAHJZqBA5fhYScUba3G6YFoL_A2AxnDzUv9HDG3UQ-JpLbddOhw@mail.gmail.com> <CALd+dccyrP=8OQBEck8xdbFLBBCVALNSZ5M5eJx8V14pPU=xFg@mail.gmail.com> <CAHJZqBAON7a9LGxf3gAtptoEG6AngHCwCibZGRBYn6dqsSreJQ@mail.gmail.com> <CALd+dceTTCsrfOh5BjLos3Rim+GTS0iCDiA0t9L-J-Uv+O-Bpg@mail.gmail.com> <CAHJZqBD0ecLukUSVcU=waP93Z9nnxVM2+f9SF9L0wnOVM0Xwpw@mail.gmail.com> <712d9ac9-5c7a-ace4-5030-d282573f89bb@2ndquadrant.com> <CAHJZqBByacQJ3_bjbABNxWikJxMZ7SG+SUDtGBO2nCbtRKFROQ@mail.gmail.com>

* 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