summaryrefslogtreecommitdiff
path: root/docs/docbook/smbdotconf/tuning/deadtime.xml
blob: cbbf751862694b54fc65ac817a03e5152fde27ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<samba:parameter name="dead time"
                 context="G"
                 developer="1"
                 xmlns:samba="http://samba.org/common">
<listitem>
    <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>

    <para>Default: <command moreinfo="none">deadtime = 0</command></para>
    <para>Example: <command moreinfo="none">deadtime = 15</command></para>
</listitem>
</samba:parameter>