pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Willy-Bas Loos <willybas@gmail.com>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: tcp keepalives not sent during long query
Date: Thu, 15 Dec 2022 09:48:15 -0500
Message-ID: <3352042.1671115695@sss.pgh.pa.us> (raw)
In-Reply-To: <CAHnozTh=o-n0cgcgP7M8iyzTKPLJfhrPFr17XwE8RTyjymnEMA@mail.gmail.com>
References: <CAHnozTjKVdc1yHsAaboLR=3hT32sLTO+jQQzhgL3siF4XqXf+g@mail.gmail.com>
	<c5ab4fc032e99d6aa8a982adc77c245fbd5a9ccc.camel@cybertec.at>
	<CAHnozTitEe9Zm6xizq6KyWCUYbtH2oUZDeFVbpXmK=Lm_aY6Zg@mail.gmail.com>
	<2707299.1671039504@sss.pgh.pa.us>
	<CAHnozTh=o-n0cgcgP7M8iyzTKPLJfhrPFr17XwE8RTyjymnEMA@mail.gmail.com>

Willy-Bas Loos <willybas@gmail.com> writes:
> It gives me a confirmation, but then when I SHOW the value, it gives me 0.

> wbloos=# set tcp_keepalives_idle=120;
> SET
> wbloos=# show tcp_keepalives_idle;
>  tcp_keepalives_idle
> ---------------------
>  0
> (1 row)

That's the behavior I'd expect on a local (Unix-socket) connection
... you sure you're doing this from one of the problematic clients?

			regards, tom lane





view thread (12+ messages)  latest in thread

Message-ID: <3352042.1671115695@sss.pgh.pa.us>
Permalink:  ../3352042.1671115695@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3352042.1671115695@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 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: tgl@sss.pgh.pa.us, willybas@gmail.com, laurenz.albe@cybertec.at
  Subject: Re: tcp keepalives not sent during long query
  In-Reply-To: <3352042.1671115695@sss.pgh.pa.us>
  References: <CAHnozTjKVdc1yHsAaboLR=3hT32sLTO+jQQzhgL3siF4XqXf+g@mail.gmail.com> <c5ab4fc032e99d6aa8a982adc77c245fbd5a9ccc.camel@cybertec.at> <CAHnozTitEe9Zm6xizq6KyWCUYbtH2oUZDeFVbpXmK=Lm_aY6Zg@mail.gmail.com> <2707299.1671039504@sss.pgh.pa.us> <CAHnozTh=o-n0cgcgP7M8iyzTKPLJfhrPFr17XwE8RTyjymnEMA@mail.gmail.com> <3352042.1671115695@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