diff options
author | Bruce Momjian <bruce@momjian.us> | 2005-07-30 15:17:26 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2005-07-30 15:17:26 +0000 |
commit | 1f54d43075d8c457935cd9fe8adfea949104995d (patch) | |
tree | 1dae9895c68da69a255b08d5e5f349ea8cdc0a3f /doc/src | |
parent | b2b6548c79eb63faf1d0939893b3bf183d5410a1 (diff) | |
download | postgresql-1f54d43075d8c457935cd9fe8adfea949104995d.tar.gz postgresql-1f54d43075d8c457935cd9fe8adfea949104995d.zip |
Add GUC variables to control keep-alive times for idle, interval, and
count.
Oliver Jowett
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/runtime.sgml | 49 |
1 files changed, 48 insertions, 1 deletions
diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml index 4f24a6e8762..41f2472f750 100644 --- a/doc/src/sgml/runtime.sgml +++ b/doc/src/sgml/runtime.sgml @@ -1,5 +1,5 @@ <!-- -$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.339 2005/07/23 21:05:45 tgl Exp $ +$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.340 2005/07/30 15:17:18 momjian Exp $ --> <chapter Id="runtime"> @@ -894,6 +894,53 @@ SET ENABLE_SEQSCAN TO OFF; </listitem> </varlistentry> + <varlistentry id="guc-tcp-keepalives-idle" xreflabel="tcp_keepalives_idle"> + <term><varname>tcp_keepalives_idle</varname> (<type>integer</type>)</term> + <indexterm> + <primary><varname>tcp_keepalives_idle</> configuration parameter</primary> + </indexterm> + <listitem> + <para> + On systems that support the TCP_KEEPIDLE socket option, specifies the + number of seconds between sending keepalives on an otherwise idle + connection. A value of 0 uses the system default. If TCP_KEEPIDLE is + not supported, this parameter must be 0. This option is ignored for + connections made via a Unix-domain socket. + </para> + </listitem> + </varlistentry> + + <varlistentry id="guc-tcp-keepalives-interval" xreflabel="tcp_keepalives_interval"> + <term><varname>tcp_keepalives_interval</varname> (<type>integer</type>)</term> + <indexterm> + <primary><varname>tcp_keepalives_interval</> configuration parameter</primary> + </indexterm> + <listitem> + <para> + On systems that support the TCP_KEEPINTVL socket option, specifies how + long, in seconds, to wait for a response to a keepalive before + retransmitting. A value of 0 uses the system default. If TCP_KEEPINTVL + is not supported, this parameter must be 0. This option is ignored + for connections made via a Unix-domain socket. + </para> + </listitem> + </varlistentry> + + <varlistentry id="guc-tcp-keepalives-count" xreflabel="tcp_keepalives_count"> + <term><varname>tcp_keepalives_count</varname> (<type>integer</type>)</term> + <indexterm> + <primary><varname>tcp_keepalives_count</> configuration parameter</primary> + </indexterm> + <listitem> + <para> + On systems that support the TCP_KEEPCNT socket option, specifies how + many keepalives may be lost before the connection is considered dead. + A value of 0 uses the system default. If TCP_KEEPINTVL is not + supported, this parameter must be 0. + </para> + </listitem> + </varlistentry> + </variablelist> </sect3> <sect3 id="runtime-config-connection-security"> |