From fbf4923cad17b55bd7a647bf2300b28e23b8cdbb Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 17 Dec 2009 16:50:35 -0800 Subject: Update default with correct value. Add a note about Win7 behavior here. Jeremy. --- docs-xml/smbdotconf/tuning/maxopenfiles.xml | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'docs-xml/smbdotconf') 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"> - This parameter limits the maximum number of + This parameter limits the maximum number of open files that one smbd - 8 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. - - The limit of the number of open files is usually set - by the UNIX per-process file descriptor limit rather than + 8 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. + + 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. -10000 +16404 -- cgit