diff options
author | Bruce Momjian <bruce@momjian.us> | 2014-03-07 22:02:38 -0500 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2014-03-07 22:02:38 -0500 |
commit | ea43af38dc90d1656e67d7fbdbc809385c380435 (patch) | |
tree | 96d8ea0dca02e82ea53758b2464f8574886415dd /doc/src | |
parent | b0cb40f93a85fd15e930828d9336e9f999ca3224 (diff) | |
download | postgresql-ea43af38dc90d1656e67d7fbdbc809385c380435.tar.gz postgresql-ea43af38dc90d1656e67d7fbdbc809385c380435.zip |
doc: improve server's keepalive description
Use superior libpq keepalive description for the server-level
parameters.
Per report by Tatsuo Ishii and Marko Tiikkaja
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/config.sgml | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 86dbd0f53e9..2811f1148ca 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -684,8 +684,9 @@ include 'filename' </indexterm> <listitem> <para> - Specifies the number of seconds before sending a keepalive packet on - an otherwise idle connection. A value of 0 uses the system default. + Specifies the number of seconds of inactivity after which TCP + should send a keepalive message to the client. A value of 0 uses + the system default. This parameter is supported only on systems that support the <symbol>TCP_KEEPIDLE</> or <symbol>TCP_KEEPALIVE</> symbols, and on Windows; on other systems, it must be zero. @@ -708,8 +709,9 @@ include 'filename' </indexterm> <listitem> <para> - Specifies the number of seconds between sending keepalives on an - otherwise idle connection. A value of 0 uses the system default. + Specifies the number of seconds after which a TCP keepalive message + that is not acknowledged by the client should be retransmitted. + A value of 0 uses the system default. This parameter is supported only on systems that support the <symbol>TCP_KEEPINTVL</> symbol, and on Windows; on other systems, it must be zero. @@ -732,8 +734,9 @@ include 'filename' </indexterm> <listitem> <para> - Specifies the number of keepalive packets to send on an otherwise idle - connection. A value of 0 uses the system default. This parameter is + Specifies the number of TCP keepalives that can be lost before + the server's connection to the client is considered dead. A value of 0 + uses the system default. This parameter is supported only on systems that support the <symbol>TCP_KEEPCNT</> symbol; on other systems, it must be zero. In sessions connected via a Unix-domain socket, this parameter is |