public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tom Lane <[email protected]>
To: Abraham, Danny <[email protected]>
Cc: pgsql-general <[email protected]>
Subject: Re: Can't change tcp_keepalives_idle
Date: Sun, 04 Aug 2024 11:43:18 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <SJ2PR02MB97060CFEDBDE9FC11F1844358EBD2@SJ2PR02MB9706.namprd02.prod.outlook.com>
References: <SJ2PR02MB97060CFEDBDE9FC11F1844358EBD2@SJ2PR02MB9706.namprd02.prod.outlook.com>

"Abraham, Danny" <[email protected]> writes:
> Change tcp_keepalives_idle in postgresql.conf from 0 to 300 , then pg_ctl reload but it stays with the old 0 value.
> Tried restart and it did not work. PG Log says it was changed.

tcp_keepalives_idle isn't implemented on all platforms.  But I'd
expect to see a LOG message in the postmaster log about that, either
something about "setsockopt failed" or "WSAIoctl failed" or "setting
the keepalive idle time is not supported".

Also, if you inquire the value on a non-TCP connection, you'll
get zero because it's not relevant.

			regards, tom lane






view thread (3+ messages)

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: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Can't change tcp_keepalives_idle
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox