Update default with correct value. Add a note about Win7 behavior
authorJeremy Allison <jra@samba.org>
Fri, 18 Dec 2009 00:50:35 +0000 (16:50 -0800)
committerJeremy Allison <jra@samba.org>
Fri, 18 Dec 2009 00:50:35 +0000 (16:50 -0800)
here.
Jeremy.

docs-xml/smbdotconf/tuning/maxopenfiles.xml

index ea0a33980a0f63d5c56e5f032358b9a8c10d2d5c..8c1a49f6861d7cc60fb225be5caef7ad45df176d 100644 (file)
@@ -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>