summaryrefslogtreecommitdiff
path: root/docs-xml/smbdotconf/tuning
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-12-17 16:50:35 -0800
committerJeremy Allison <jra@samba.org>2009-12-17 16:50:35 -0800
commitfbf4923cad17b55bd7a647bf2300b28e23b8cdbb (patch)
tree010f86ca33084a1c7f7707f24ff782ea603a5bc2 /docs-xml/smbdotconf/tuning
parent159c1b860aa4d61acf765c849c63e3bee9f57ad3 (diff)
downloadsamba-fbf4923cad17b55bd7a647bf2300b28e23b8cdbb.tar.gz
samba-fbf4923cad17b55bd7a647bf2300b28e23b8cdbb.tar.bz2
samba-fbf4923cad17b55bd7a647bf2300b28e23b8cdbb.zip
Update default with correct value. Add a note about Win7 behavior
here. Jeremy.
Diffstat (limited to 'docs-xml/smbdotconf/tuning')
-rw-r--r--docs-xml/smbdotconf/tuning/maxopenfiles.xml21
1 files changed, 12 insertions, 9 deletions
diff --git a/docs-xml/smbdotconf/tuning/maxopenfiles.xml b/docs-xml/smbdotconf/tuning/maxopenfiles.xml
index ea0a33980a..8c1a49f686 100644
--- a/docs-xml/smbdotconf/tuning/maxopenfiles.xml
+++ b/docs-xml/smbdotconf/tuning/maxopenfiles.xml
@@ -4,17 +4,20 @@
advanced="1" developer="1"
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
- <para>This parameter limits the maximum number of
+ <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
- default for this parameter is set very high (10,000) as Samba uses
- only one bit per unopened file.</para>
-
- <para>The limit of the number of open files is usually set
- by the UNIX per-process file descriptor limit rather than
+ <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">10000</value>
+<value type="default">16404</value>
</samba:parameter>