Re: Can't change tcp_keepalives_idle

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Can't change tcp_keepalives_idle
Дата
Msg-id 399789.1722786198@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Can't change tcp_keepalives_idle  ("Abraham, Danny" <danny_abraham@bmc.com>)
Список 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 по дате отправления: