Suggestion about tcp_keepalives_idle parameter in the document

Started by yanliang leialmost 2 years ago3 messagesdocs
Jump to latest
#1yanliang lei
msdnchina@163.com

there is the following description in the https://www.postgresql.org/docs/current/runtime-config-connection.html:

A value of 0 (the default) selects the operating system's default.-----but there is no description about“ the operating system's default value in the linux is tcp_keepalive_time kernel parameter”

#2Laurenz Albe
laurenz.albe@cybertec.at
In reply to: yanliang lei (#1)
Re: Suggestion about tcp_keepalives_idle parameter in the document

On Sat, 2024-06-08 at 05:37 +0800, yanliang lei wrote:

there is the following description in the https://www.postgresql.org/docs/current/runtime-config-connection.html:

A value of 0 (the default) selects the operating system's default.
but there is no description about“  the operating system's default
value in the linux  is  tcp_keepalive_time  kernel parameter”

Documenting the defaults for each supported operating system is not
PostgreSQL's task.

In this article[1]https://www.cybertec-postgresql.com/en/tcp-keepalive-for-a-better-postgresql-experience/#defaults, I figured out the defaults for Linux, MacOS
and Windows.

Yours,
Laurenz Albe

[1]: https://www.cybertec-postgresql.com/en/tcp-keepalive-for-a-better-postgresql-experience/#defaults

#3yanliang lei
msdnchina@163.com
In reply to: Laurenz Albe (#2)
Re:Re: Suggestion about tcp_keepalives_idle parameter in the document

thank you very much!

At 2024-06-10 17:03:07, "Laurenz Albe" <laurenz.albe@cybertec.at> wrote:

Show quoted text

On Sat, 2024-06-08 at 05:37 +0800, yanliang lei wrote:

there is the following description in the https://www.postgresql.org/docs/current/runtime-config-connection.html:

A value of 0 (the default) selects the operating system's default.
but there is no description about“ the operating system's default
value in the linux is tcp_keepalive_time kernel parameter”

Documenting the defaults for each supported operating system is not
PostgreSQL's task.

In this article[1], I figured out the defaults for Linux, MacOS
and Windows.

Yours,
Laurenz Albe

[1]: https://www.cybertec-postgresql.com/en/tcp-keepalive-for-a-better-postgresql-experience/#defaults