From: Ted C. Cheng Date: Thu, 24 Jan 2013 01:10:41 +0000 (-0800) Subject: added tcp keepalive support to back-ldap X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d836def0190331bcb5f0e0527457a0b093016058;p=openldap added tcp keepalive support to back-ldap --- diff --git a/doc/man/man5/slapd-ldap.5 b/doc/man/man5/slapd-ldap.5 index 1244d1fe08..7b2ab181a2 100644 --- a/doc/man/man5/slapd-ldap.5 +++ b/doc/man/man5/slapd-ldap.5 @@ -422,6 +422,25 @@ for details on the syntax of this field. This directive causes a cached connection to be dropped an recreated after it has been idle for the specified time. +.TP +.B keepalive :: +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. + .TP .B network\-timeout