pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Igor Neyman <ineyman@perceptron.com>
Cc: Wells Oliver <wells.oliver@gmail.com>
Cc: Ron <ronljohnsonjr@gmail.com>
Cc: pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>
Subject: Re: Diagnosing a massive toast file
Date: Mon, 05 Aug 2019 14:35:52 -0400
Message-ID: <30508.1565030152@sss.pgh.pa.us> (raw)
In-Reply-To: <BN6PR1701MB1890A22C7037904467E7E491DADA0@BN6PR1701MB1890.namprd17.prod.outlook.com>
References: <CAOC+FBUPopsKh5wV5VC-CHCnVirtTghhwNwEtSD2ZaCZbXwOFg@mail.gmail.com>
	<3da6ffe8-28ef-fb9a-e6e8-1f0d243cc8e9@gmail.com>
	<CAOC+FBX1arTzF+_hx2WMsnOoF95gnnMZtNNkPUG+OKAERpisJg@mail.gmail.com>
	<6018.1565023741@sss.pgh.pa.us>
	<CAOC+FBWsvJJawBNBdan1n2pbQYWdZLvCF=2nUZq2hK0OHryXfg@mail.gmail.com>
	<CAOC+FBXyYOE1+90qNDMJ_0W6F6pPxdKTEYP4HG2xHgT9KzbE=w@mail.gmail.com>
	<27376.1565025867@sss.pgh.pa.us>
	<CAOC+FBUmpiQtmwn_WNyE-jCZ57h7OebqgBGtpLYFwqBCdkoSaQ@mail.gmail.com>
	<BN6PR1701MB1890A22C7037904467E7E491DADA0@BN6PR1701MB1890.namprd17.prod.outlook.com>

Igor Neyman <ineyman@perceptron.com> writes:
> From: Wells Oliver [mailto:wells.oliver@gmail.com]
>> Do you guys have any kind of regular monitoring in place to flag users who don't politely close their connections?

> idle_in_transaction_session_timeout GUC is your friend.

Good idea, though it's only been around since 9.6.

Also, if you just want to monitor rather than impose a hard limit,
I imagine you can get Nagios to watch for this.

			regards, tom lane





view thread (12+ messages)

Message-ID: <30508.1565030152@sss.pgh.pa.us>
Permalink:  ../30508.1565030152@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/30508.1565030152@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, ineyman@perceptron.com, wells.oliver@gmail.com, ronljohnsonjr@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Diagnosing a massive toast file
  In-Reply-To: <30508.1565030152@sss.pgh.pa.us>

* 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