Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fpa3P-0002zU-4P for pgsql-general@arkaria.postgresql.org; Tue, 14 Aug 2018 14:12:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fpa3N-0007Wm-0W for pgsql-general@arkaria.postgresql.org; Tue, 14 Aug 2018 14:12:09 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fpa3M-0007Wf-LB for pgsql-general@lists.postgresql.org; Tue, 14 Aug 2018 14:12:08 +0000 Received: from mail-yw1-xc31.google.com ([2607:f8b0:4864:20::c31]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fpa3J-0002is-Kq for pgsql-general@postgresql.org; Tue, 14 Aug 2018 14:12:07 +0000 Received: by mail-yw1-xc31.google.com with SMTP id j68-v6so16289030ywg.1 for ; Tue, 14 Aug 2018 07:12:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seiler-us.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=pyGGQGq755NfudyDjU2lGYQpXDM0dvDIvvlrCRRz9Ug=; b=IDAWBRtt+cnUUprc5+/fGeTs6YgU29fVvJSOqkDyf0OdhLbTYkF56fjOh1M3FPJSFA WfobFPAt9qkC+JsneJACV9rRO4xTGpIFhTC2aylHhdlA+9e3YumR1B79QwL5LWqzp8Oi yWNND2wTGmrOG/UYYQ4bCgyUp37YwufgQMXjfRLODageJKvBy+q3/dji6lUxGFlevzOo EpGAaF0MVu3vv0Ng1/dvZiiPSTTvtiBbhY1VDhntGGojpV5Jxyfmz4pxJnRTPv8irJo7 n9lBjYprJpgj9wcInWGruHszSSoFu+VMz9vtwn+zF0fF887EX3l8VSXUGoGqyDAm7v7W SnGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=pyGGQGq755NfudyDjU2lGYQpXDM0dvDIvvlrCRRz9Ug=; b=NsgB1j9N/d1cz8cDIJs9y7gqqZVilkd9oSggevDcX5pFFaU32sEub2cyhd0r/lyvfe 4rXhzRtV1ISnj9Gz+3DnSu8EW84d2JAgz0TU8mn4xuP691vlvDDaAkJcONICnfMimS57 EUXRGCC8PsLl9mzDreoZGl+cYdHcU3K37OngJOl0Ue+p8gJ/UMfRitTw8wSSfnTQOKE5 mgIMtsgZaIlO2Ev8/n13bhlB23xa7siV+KN0g9rNEv+UB2Hw+A8BoW65lzULxnPKtZG0 Ia8nTxzCoXPgZWAHXUbqKtlT+jE1EmkuJqf3KEyG83ZWJZ43W3QsvfDC2F8MeZc1GP1S TCvg== X-Gm-Message-State: AOUpUlGR90Hsnp1Ae+qsi3NL/VE/xPlPN/LKMtphZ1r/oBgyEH0hYIBm TnSnzebo6UDdhgXZYoaIkqymLEX8X/SvhkmwFX9ffoW8 X-Google-Smtp-Source: AA+uWPzUJBwQ5U0HT0FMwFmnqTAqm4+APbeGeNrpS46BBT16a6sPgvgswikfd6eAAWrPkZQ6ofEyTL3lDruXSbUhpwA= X-Received: by 2002:a81:d804:: with SMTP id d4-v6mr11412057ywj.470.1534255924305; Tue, 14 Aug 2018 07:12:04 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:c105:0:0:0:0:0 with HTTP; Tue, 14 Aug 2018 07:11:43 -0700 (PDT) In-Reply-To: <712d9ac9-5c7a-ace4-5030-d282573f89bb@2ndquadrant.com> References: <20180813211506.spvawcczdukdxa4u@alvherre.pgsql> <712d9ac9-5c7a-ace4-5030-d282573f89bb@2ndquadrant.com> From: Don Seiler Date: Tue, 14 Aug 2018 09:11:43 -0500 Message-ID: Subject: Re: Vacuum process waiting on BufferPin To: Vik Fearing Cc: Vick Khera , Postgres General Content-Type: multipart/alternative; boundary="0000000000005cfd04057365cb93" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --0000000000005cfd04057365cb93 Content-Type: text/plain; charset="UTF-8" On Tue, Aug 14, 2018 at 8:58 AM, Vik Fearing 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 --0000000000005cfd04057365cb93 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On T= ue, Aug 14, 2018 at 8:58 AM, Vik Fearing <vik.fearing@2ndquadran= t.com> wrote:

There is an idle_in_transaction_session_timeout parameter to ki= ll
connections that are idle (in transaction) for too long.=C2=A0 It was
implemented specifically for cases like this.

Thanks for reminding me of this. I'll probably look to set it but ma= ke 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
--0000000000005cfd04057365cb93--