Обсуждение: Suggestion about tcp_keepalives_idle parameter in the document
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”
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
thank you very much!
At 2024-06-10 17:03:07, "Laurenz Albe" <laurenz.albe@cybertec.at> wrote: >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 >