[Samba] Extremely slow during browsing some directories

Linwei Cheng hcheng at sjgeophysics.com
Fri Mar 4 23:00:47 GMT 2005


Hello,

The issues I had before seems all disappeared after I rebooted my machine( 
Fedora3, kernel 2.6.10-1.770_FC3 ). I don't really understand what benefited 
the samba on rebooting... The information is, before this reboot, I updated 
the kernel from 2.6.10-1.760_FC3, and updated samba from 3.0.10 to 
3.0.12pre1-1.

I really doubt it's the client requirement of "GET FULL FS SIZE" caused the 
slowness. Before rebooting, I tried using smbclient on another linux machine 
to connect the shared folder on samba server, and found that when I use "ls" 
to list the directories, the directories can be returned immediately but it 
get stuck on display the "filesystem size" information at the bottom until 
timeout. I think it's the same issue for "mapping" a disk on windows 
machines, since the windows will try to grab "filesystem size" information 
on every operation as well.  After rebooting, the "... block of size ..... 
blocks available" returned immediately and everything goes smoothly.

linwei



----- Original Message ----- 
From: "Linwei Cheng" <hcheng at sjgeophysics.com>
To: "david rankin" <drankin at cox-internet.com>; <samba at lists.samba.org>
Sent: Friday, March 04, 2005 12:44 PM
Subject: Re: [Samba] Extremely slow during browsing some directories


> Hello,
>
> I've read the relative thread on "STATUS_OBJECT_NAME_NOT_FOUND", and I 
> think that's part of my issue:
>
> 1. When I map the shared folder as a disk to my windowsXP and Windows2K 
> machine, then every step exploring the mapped disk or directories under 
> this disk, takes more than 30sec to response from the samba server. I use 
> ethereal to trace the network, and found that there are a lot of "SMB 
> Trans2 request, QUERY_PATH_INFO" and "SMB Trans2 response QUERY_PATH_INFO" 
> roundtrip while my windows machine waiting.
>
> 2. When I don't map the shared folder to my windows machines, things are 
> better -- the slowness doesn't happen frequently, but it does happend 
> randomly. When it happens, I got "STATUS_OBJECT_PATH_NOT_FOUND" error 
> reported.
>
> I just updated my Samba to "3.0.12pre-1" from "3.0.10.fc3", but it seems 
> all my issues remain as before. Does this issue introduced in certain 
> Samba version? Does anybody suffer the same problem as mine now or before?
>
> Regards,
> linwei
>
>
> ----- Original Message ----- 
> From: "david rankin" <drankin at cox-internet.com>
> To: "Linwei Cheng" <hcheng at sjgeophysics.com>
> Sent: Thursday, March 03, 2005 7:32 PM
> Subject: Re: [Samba] Extremely slow during browsing some directories
>
>
>> See all of the posts from the last few days with the subject:
>>
>> Re: [Samba] Re: Samba errors with smb QUERY_PATH_INFO,Error: 
>> STATUS_OBJECT_NAME_NOT_FOUND
>>
>>
>> --
>> David C. Rankin, J.D., P.E.
>> RANKIN LAW FIRM, PLLC
>> 510 Ochiltree Street
>> Nacogdoches, Texas 75961
>> (936) 715-9333
>> (936) 715-9339 fax
>> www.rankinlawfirm.com
>> --
>> ----- Original Message ----- 
>> From: "Linwei Cheng" <hcheng at sjgeophysics.com>
>> To: "Jason Balicki" <kodak at frontierhomemortgage.com>; 
>> <samba at lists.samba.org>
>> Sent: Thursday, March 03, 2005 7:35 PM
>> Subject: Re: [Samba] Extremely slow during browsing some directories
>>
>>
>>>
>>> I disabled the web client service on my computer, but it does no good. 
>>> ( There are also other sharing folders from windows machinces on my 
>>> network, but I didn't suffer the same problem from those windows 
>>> sharings...). And I also tried to work on the samba server machine 
>>> locally using smbclient, and it seems no this kind of issue....
>>>
>>>
>>> ----- Original Message ----- 
>>> From: "Jason Balicki" <kodak at frontierhomemortgage.com>
>>> To: "Linwei Cheng" <hcheng at sjgeophysics.com>
>>> Sent: Thursday, March 03, 2005 5:16 PM
>>> Subject: Re: [Samba] Extremely slow during browsing some directories
>>>
>>>
>>>> Linwei Cheng wrote:
>>>>
>>>>> hi,
>>>>>
>>>>> I am quite new on using Samba and sorry maybe ask a silly question 
>>>>> here. I set up simple Samba server on Fedora3 using the samba rpm 
>>>>> package comes with fedora3( version 3.0.10-1.fc3). I use the SHARE 
>>>>> security level to make things easier. Everything goes fine so far, 
>>>>> except that for some windows user, some times, on browsing some 
>>>>> directories, it takes extremely long time to display the folders/files 
>>>>> list. This seems weird because it happened radomly: sometimes for the 
>>>>> same user, same machine and browse same directory, it works quickly, 
>>>>> but sometimes it take about a minute to get the response from server. 
>>>>> What's the possibilities for this issue? Deperately need help.
>>>>>
>>>>
>>>> Try turning off the "webclient" service on the windows client machines.
>>>>
>>>> --J(K)
>>>
>>>
>>> -- 
>>> To unsubscribe from this list go to the following URL and read the
>>> instructions:  https://lists.samba.org/mailman/listinfo/samba
>>>
>>
>>
>
>
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba 




More information about the samba mailing list