[Samba] Large Directories Timeout smbfs & Windows
jra at samba.org
Tue Oct 25 21:18:39 GMT 2005
On Tue, Oct 25, 2005 at 01:50:40PM -0700, Stan Dolson wrote:
> This is my first posting to any of the Samba mailing lists.
> I've been a lurker for a year or so as I've been working on
> a VFS for the company I'm working for.
> We're currently using Samba 3.0.10-4 on RedHat AS 3 Update 4
> and we are observing the following problem both with our VFS
> and with shares residing in a Linux directory on the Samba
> If a directory has lots of files in it (say 20000 or so), we
> are seeing both Linux and Windows clients timeout the shares.
> The timeouts occur when doing an "ls" on Linux with smbfs or
> opening the share's folder on Windows.
> Looking at debug logs shows that Samba is in the middle of
> doing a TRANSACT2_FINDFIRST (call_trans2findfirst in the code)
> where it calls SMB_VFS_OPENDIR, reads all of the entries
> through SMB_VFS_READDIR, and then closes the directory with
> SMB_VFS_CLOSEDIR before sending any reply at all to the
This was changed for (I believe) Samba 3.0.20. Could have
been earlier (can't remember and I'm not in a place I can
easily track this down right now).
This issue has been fixed in the latest releases.
More information about the samba-technical