syncing docs from 3.0 tree (thanks jelmer).
[Samba.git] / docs / docbook / smbdotconf / tuning / deadtime.xml
blob938f354b9a8c9cb56b076fd25005e2a2e2b5e929
1 <samba:parameter name="deadtime"
2                  context="G"
3                  developer="1"
4                  xmlns:samba="http://samba.org/common">
5 <listitem>
6     <para>The value of the parameter (a decimal integer) 
7     represents the number of minutes of inactivity before a connection 
8     is considered dead, and it is disconnected. The deadtime only takes 
9     effect if the number of open files is zero.</para>
10                 
11     <para>This is useful to stop a server's resources being 
12     exhausted by a large number of inactive connections.</para>
14     <para>Most clients have an auto-reconnect feature when a 
15     connection is broken so in most cases this parameter should be 
16     transparent to users.</para>
18     <para>Using this parameter with a timeout of a few minutes 
19     is recommended for most systems.</para>
21     <para>A deadtime of zero indicates that no auto-disconnection 
22     should be performed.</para>
24     <para>Default: <command moreinfo="none">deadtime = 0</command></para>
25     <para>Example: <command moreinfo="none">deadtime = 15</command></para>
26 </listitem>
27 </samba:parameter>