| 1 |
<samba:parameter name="deadtime" |
| 2 |
context="G" |
| 3 |
type="integer" |
| 4 |
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> |
| 5 |
<description> |
| 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> |
| 13 |
|
| 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> |
| 17 |
|
| 18 |
<para>Using this parameter with a timeout of a few minutes |
| 19 |
is recommended for most systems.</para> |
| 20 |
|
| 21 |
<para>A deadtime of zero indicates that no auto-disconnection |
| 22 |
should be performed.</para> |
| 23 |
</description> |
| 24 |
|
| 25 |
<value type="default">10080</value> |
| 26 |
<value type="example">15</value> |
| 27 |
</samba:parameter> |