summaryrefslogtreecommitdiff
path: root/docs/docbook/smbdotconf/tuning/maxconnections.xml
blob: 24af886b60a1fc67ef219869b1eccf3233da7725 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<samba:parameter xmlns:samba="http://samba.org/common">
		<term><anchor id="MAXCONNECTIONS"/>max connections (S)</term>
		<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>