[Samba] FINDNEXT problem, w2k and linux smbfs
Vlad Skarzhevskyy
vlads at sympatico.ca
Thu Jun 20 20:13:02 GMT 2002
Urban,
Thanks for reply! I'll do all you will ask!
This is the test I have made.
I could NOT say The more files and the longer file the more problems.
Probably sample set of 1000 reads is not enough to get proper stats.
I could not see a regular pattern from this tests.
The only pattern:
For each file name length max number of files could be found so no problem
for this list appear!
Problem appear when some limit in size is reached.
And it is hard to recover in next consecutive list.
Looks like problem come in pack even for ttl=10
Error counts are consecutive/individual see shell script
Each test run multiple time have almost the same results.
Test 1: Different ttl
fileName=aaaaaaaa10aaaaaaaa20aaaaaaaa30aaaaaaaa40aaaaaaaa50aaaaaaaa60_${cnt}
.tst
ttl=10, 1000 reads of one dir. Files 64 char 60, files.
3/3 Errors
or 2/2 Errors
1m11.571s
ttl=5000, 1000 reads of one dir. Files 64 char, 60 files.
2/209 Errors But It does not matter if to count continuos Errors
real 0m43.543s
user 0m24.780s
sys 0m18.380s
Test 2: Number of files test:
fileName=aaaaaaaa10aaaaaaaa20aaaaaaaa30aaaaaaaa40aaaaaaaa50aaaaaaaa60_${cnt}
.tst
ttl=10, 1000 reads of one dir. Files 64 char 29 files.
0/0 Errors
0m46.371s
ttl=10, 1000 reads of one dir. Files 64 char, 39 files.
0/0 Errors
ttl=10, 1000 reads of one dir. Files 64 char, 44 files.
0/0 Errors
ttl=10, 1000 reads of one dir. Files 64 char, 46 files.
0/0 Errors
ttl=10, 1000 reads of one dir. Files 64 char, 46 files.
0/0 Errors
ttl=10, 1000 reads of one dir. Files 64 char, 47 files.
0/0 Errors
0/0 Errors
0/0 Errors
0/0 Errors
ttl=10, 1000 reads of one dir. Files 64 char, 48 files.
0/0 Errors
3/3 Errors
7/7 Errors
28/98 Errors
ttl=10, 1000 reads of one dir. Files 64 char, 49 files.
0/0 Errors
0/0 Errors
ttl=10, 1000 reads of one dir. Files 64 char, 50 files.
0/0 Errors
1/1 Errors
ttl=10, 1000 reads of one dir. Files 64 char, 60 files.
3/3 Errors
ttl=10, 1000 reads of one dir. Files 64 char, 100 files.
8/13 Errors
Test 2: Different file names
fileName=aaaaaaaa10aaaaaaaa20aaaaaaaa30_${cnt}.tst
ttl=10, 1000 reads of one dir. Files 38 char, 50 files.
0/0 Errors
0/0 Errors
ttl=10, 1000 reads of one dir. Files 38 char, 100 files.
4/4 Errors
ttl=10, 1000 reads of one dir. Files 38 char, 200 files.
2/175 Errors
2m30.598s
ttl=10, 1000 reads of one dir. Files 38 char, 400 files.
10/308 Errors
4m58.779s
fileName=abc_${cnt}.tst
ttl=10, 1000 reads of one dir. Files 6 char, 50 files.
0/0 Errors
0/0 Errors
real 0m42.238s
user 0m18.090s
sys 0m18.570s
ttl=10, 1000 reads of one dir. Files 6 char, 60 files.
0/0 Errors
0m43.989s
ttl=10, 1000 reads of one dir. Files 6 char, 80 files.
106/106 Errors
ttl=10, 1000 reads of one dir. Files 6 char, 90 files.
158/158 Errors
0m59.096s
ttl=10, 1000 reads of one dir. Files 6 char, 100 files.
6/6 Errors
46/47 Errors
real 1m0.262s
-----Original Message-----
From: Urban Widmark [mailto:urban at teststation.com]
Sent: Thursday, June 20, 2002 2:28 PM
To: vlads at sympatico.ca
Cc: samba at lists.samba.org
Subject: Re: [Samba] FINDNEXT problem, w2k and linux smbfs
On Tue, 18 Jun 2002 vlads at sympatico.ca wrote:
> I have inconsistent directory listing on share mounted on linux from
windows 2k.
> Some time not all files appear in the directory listing.
[snip]
> Directories I'm having a problems with have 70 to 250 files.
> Average File name length 40 char.
> rw and ro have the same problems.
> stetting ttl argument have also no affect on this problem it only dellays
it.
Running this for about an hour (on various looking directories) I have
now seen it 3 times. It would help me if I was able to reproduce this more
easily, so maybe you could test a few things for me:
+ With even longer filenames, does it happen more often?
+ Does more files add to the problem?
+ Does setting the ttl really low (ttl=10) or really high (ttl=100000)
make any noticable difference?
+ Does smbclient also get missing files?
I have never before been able to reproduce reports of missing files, but
it is not a new problem and have been reported vs many different kernels.
Ah, saw your followup. Yes, it's been reported before to samba-bugs as
well as to this list.
Someone tested the unicode patches for 2.4.18, available from:
http://www.hojdpunkten.ac.se/054/samba/index.html
and reported that the particular directory they were having problems with
started to work.
/Urban
-------------- next part --------------
A non-text attachment was scrubbed...
Name: st1
Type: application/octet-stream
Size: 953 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20020620/e4a251ee/st1.obj
More information about the samba
mailing list