summaryrefslogtreecommitdiff
path: root/docs/docbook/smbdotconf/tuning/keepalive.xml
blob: 1320dfab616822bf0aa042892734da37b343b82c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<samba:parameter name="keepalive"
                 context="G"
                 advanced="1" developer="1"
                 xmlns:samba="http://samba.org/common">
<listitem>
    <para>The value of the parameter (an integer) represents 
    the number of seconds between <parameter moreinfo="none">keepalive</parameter> 
    packets. If this parameter is zero, no keepalive packets will be 
    sent. Keepalive packets, if sent, allow the server to tell whether 
    a client is still present and responding.</para>

    <para>Keepalives should, in general, not be needed if the socket 
    being used has the SO_KEEPALIVE attribute set on it (see <link linkend="SOCKETOPTIONS">
    <parameter moreinfo="none">socket options</parameter></link>). 
    Basically you should only use this option if you strike difficulties.</para>

    <para>Default: <command moreinfo="none">keepalive = 300</command></para>

    <para>Example: <command moreinfo="none">keepalive = 600</command></para>
</listitem>
</samba:parameter>