1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/docs-xml/smbdotconf/tuning/deadtime.xml
Christof Schmitt 5ac626e7b0 smbd: Move deadtime default to parameter definition and man page
The code has a default of one week (10080 minutes) if the parameter is
set to 0. Make this the public default of the parameter, instead of
hiding it in the code. This change also has the code match the
documentation that setting this parameter to 0 disables the check.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2019-05-01 03:12:07 +00:00

28 lines
1.0 KiB
XML

<samba:parameter name="deadtime"
context="G"
type="integer"
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
<para>The value of the parameter (a decimal integer)
represents the number of minutes of inactivity before a connection
is considered dead, and it is disconnected. The deadtime only takes
effect if the number of open files is zero.</para>
<para>This is useful to stop a server's resources being
exhausted by a large number of inactive connections.</para>
<para>Most clients have an auto-reconnect feature when a
connection is broken so in most cases this parameter should be
transparent to users.</para>
<para>Using this parameter with a timeout of a few minutes
is recommended for most systems.</para>
<para>A deadtime of zero indicates that no auto-disconnection
should be performed.</para>
</description>
<value type="default">10080</value>
<value type="example">15</value>
</samba:parameter>