From f3342dcbd3580be5eeeec8c723268e84cf19630e Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Wed, 9 Dec 2009 12:35:49 +0000 Subject: [PATCH] document keepalive (ITS#6389) --- doc/man/man5/slapd-config.5 | 17 +++++++++++++++++ doc/man/man5/slapd.conf.5 | 18 ++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/doc/man/man5/slapd-config.5 b/doc/man/man5/slapd-config.5 index 555ae7c6f2..928d5527f7 100644 --- a/doc/man/man5/slapd-config.5 +++ b/doc/man/man5/slapd-config.5 @@ -1661,6 +1661,7 @@ FALSE, meaning the contextCSN is stored in the context entry. .B [credentials=] .B [realm=] .B [secprops=] +.B [keepalive=::] .B [starttls=yes|critical] .B [tls_cert=] .B [tls_key=] @@ -1802,6 +1803,22 @@ should grant that identity appropriate access privileges to the data that is being replicated (\fBaccess\fP directive), and appropriate time and size limits (\fBlimits\fP directive). +The +.B keepalive +parameter sets the values of \fIidle\fP, \fIprobes\fP, and \fIinterval\fP +used to check whether a socket is alive; +.I idle +is the number of seconds a connection needs to remain idle before TCP +starts sending keepalive probes; +.I probes +is the maximum number of keepalive probes TCP should send before dropping +the connection; +.I interval +is interval in seconds between individual keepalive probes. +Only some systems support the customization of these values; +the +.B keepalive +parameter is ignored otherwise, and system-wide settings are used. The .B starttls diff --git a/doc/man/man5/slapd.conf.5 b/doc/man/man5/slapd.conf.5 index 5fe511964c..8134f7c700 100644 --- a/doc/man/man5/slapd.conf.5 +++ b/doc/man/man5/slapd.conf.5 @@ -1647,6 +1647,7 @@ the contextCSN is stored in the context entry. .B [credentials=] .B [realm=] .B [secprops=] +.B [keepalive=::] .B [starttls=yes|critical] .B [tls_cert=] .B [tls_key=] @@ -1807,6 +1808,23 @@ and \fBtimelimit\fP, or by setting an appropriate \fBlimits\fP statement in the consumer's configuration (see \fBsizelimit\fP and \fBlimits\fP for details). +The +.B keepalive +parameter sets the values of \fIidle\fP, \fIprobes\fP, and \fIinterval\fP +used to check whether a socket is alive; +.I idle +is the number of seconds a connection needs to remain idle before TCP +starts sending keepalive probes; +.I probes +is the maximum number of keepalive probes TCP should send before dropping +the connection; +.I interval +is interval in seconds between individual keepalive probes. +Only some systems support the customization of these values; +the +.B keepalive +parameter is ignored otherwise, and system-wide settings are used. + The .B starttls parameter specifies use of the StartTLS extended operation -- 2.39.5