Re: tcp keepalives not sent during long query

Поиск
Список
Период
Сортировка
От Willy-Bas Loos
Тема Re: tcp keepalives not sent during long query
Дата
Msg-id CAHnozThEP625SR35KWkaPBgZ1D7=ROTpOu9Ooq-X-sAN=w7jEQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: tcp keepalives not sent during long query  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Yes exactly, Geoff Winkless pointed that out too.
I thought I'd found a cause for the breaking connections, but I hadn't.
Thanks a lot for your help!


On Thu, Dec 15, 2022 at 3:48 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
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


--
Willy-Bas Loos

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: tcp keepalives not sent during long query
Следующее
От: Michel Pelletier
Дата:
Сообщение: pg_dumpall renders ALTER TABLE for a view?