summaryrefslogtreecommitdiff
path: root/docs/docbook/smbdotconf/tuning/maxconnections.xml
blob: 5127df06f487c2c5d335d27c12226d33181c4e1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<samba:parameter name="max connections"
                 context="S"
                 xmlns:samba="http://samba.org/common">
<listitem>
    <para>This option allows the number of simultaneous connections to a service to be limited.
    If <parameter moreinfo="none">max connections</parameter> is greater than 0 then connections
    will be refused if this number of connections to the service are already open. A value 
    of zero mean an unlimited number of connections may be made.</para>

    <para>Record lock files are used to implement this feature. The lock files will be stored in 
    the directory specified by the <link linkend="LOCKDIRECTORY">
    <parameter moreinfo="none">lock directory</parameter></link> option.</para>

    <para>Default: <command moreinfo="none">max connections = 0</command></para>

    <para>Example: <command moreinfo="none">max connections = 10</command></para>
</listitem>
</samba:parameter>