Re: Can't change tcp_keepalives_idle - Mailing list pgsql-general

From Tom Lane
Subject Re: Can't change tcp_keepalives_idle
Date
Msg-id 399789.1722786198@sss.pgh.pa.us
Whole thread Raw
In response to Can't change tcp_keepalives_idle  ("Abraham, Danny" <danny_abraham@bmc.com>)
List pgsql-general
"Abraham, Danny" <danny_abraham@bmc.com> 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



pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Can't change tcp_keepalives_idle
Next
From: Lele Gaifax
Date:
Subject: Re: Some links to "previous version" seem wrong