summaryrefslogtreecommitdiff
path: root/docs-xml/smbdotconf/tuning/maxopenfiles.xml
blob: 8c1a49f6861d7cc60fb225be5caef7ad45df176d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<samba:parameter name="max open files"
				 type="integer"
                 context="G"
                 advanced="1" developer="1"
                 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
    <para>This parameter limits the maximum number of
    open files that one <citerefentry><refentrytitle>smbd</refentrytitle>
    <manvolnum>8</manvolnum></citerefentry> file
    serving process may have open for a client at any one time. The
    This parameter can be set very high (16404) as Samba uses
    only one bit per unopened file. Setting this parameter lower than
    16404 will cause Samba to complain and set this value back to
    the minimum of 16404, as Windows 7 depends on this number of
    open file handles being available.</para>

    <para>The limit of the number of open files is usually set
    by the UNIX per-process file descriptor limit rather than
    this parameter so you should never need to touch this parameter.</para>
</description>

<value type="default">16404</value>
</samba:parameter>