From: Howard Chu Date: Tue, 10 Mar 2009 00:51:27 +0000 (+0000) Subject: ITS#5836 add writetimeout keyword X-Git-Tag: ACLCHECK_0~712 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a36f4a2b1c83693e0526bf4180cf7ee413ad2653;p=openldap ITS#5836 add writetimeout keyword --- diff --git a/doc/man/man5/slapd-config.5 b/doc/man/man5/slapd-config.5 index 1d73cab33b..2321196f8b 100644 --- a/doc/man/man5/slapd-config.5 +++ b/doc/man/man5/slapd-config.5 @@ -451,7 +451,9 @@ along with this option. .B olcIdleTimeout: Specify the number of seconds to wait before forcibly closing an idle client connection. A setting of 0 disables this -feature. The default is 0. +feature. The default is 0. You may also want to set the +.B olcWriteTimeout +option. .TP .B olcIndexIntLen: Specify the key length for ordered integer indices. The most significant @@ -750,11 +752,12 @@ The default is 16; the minimum value is 2. Specify the maximum number of threads to use in tool mode. This should not be greater than the number of CPUs in the system. The default is 1. -.\"ucdata-path is obsolete / ignored... -.\".TP -.\".B ucdata-path -.\"Specify the path to the directory containing the Unicode character -.\"tables. The default path is DATADIR/ucdata. +.TP +.B olcWriteTimeout: +Specify the number of seconds to wait before forcibly closing +a connection with an outstanding write. This allows recovery from +various network hang conditions. A setting of 0 disables this +feature. The default is 0. .SH TLS OPTIONS If .B slapd diff --git a/doc/man/man5/slapd.conf.5 b/doc/man/man5/slapd.conf.5 index e7d46774bd..495b446e75 100644 --- a/doc/man/man5/slapd.conf.5 +++ b/doc/man/man5/slapd.conf.5 @@ -473,7 +473,9 @@ along with this option. .B idletimeout Specify the number of seconds to wait before forcibly closing an idle client connection. A idletimeout of 0 disables this -feature. The default is 0. +feature. The default is 0. You may also want to set the +.B writetimeout +option. .TP .B include Read additional configuration information from the given file before @@ -982,6 +984,12 @@ The default is 1. .\".B ucdata-path .\"Specify the path to the directory containing the Unicode character .\"tables. The default path is DATADIR/ucdata. +.TP +.B writetimeout +Specify the number of seconds to wait before forcibly closing +a connection with an outstanding write. This allows recovery from +various network hang conditions. A writetimeout of 0 disables this +feature. The default is 0. .SH TLS OPTIONS If .B slapd