Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
slow browsing samba shares
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
groovin
Guru
Guru


Joined: 07 Feb 2004
Posts: 429
Location: California, USA

PostPosted: Fri Feb 18, 2005 12:40 am    Post subject: slow browsing samba shares Reply with quote

just setup samba to act as a domain member. when im at a windows client, browsing is slow at first... so for example, when double click the server in the net'hood, it takes several seconds before the shares pull up. then, the first share i access (doesnt matter which share) takes several seconds to open... from there browsing is quick... but if stop traversing the directories for about 5-10 secs, and then start again, browsing slows down again on the next directory access but then speeds back up again after that, and so on.

Looking at the samba docs(my comments are in bold):

Quote:
Browsing of Shares and Directories is Very Slow

Bad Networking Hardware
Most common defective hardware problems center around low cost or defective HUBs, routers, Network Interface Controllers (NICs) and bad wiring. If one piece of hardware is defective the whole network may suffer. Bad networking hardware can cause data corruption. Most bad networking hardware problems are accompanied by an increase in apparent network traffic, but not all.

The NICs are all new Intel Gigabit, so I'm going to assume they are good.



The Windows XP WebClient

A number of sites have reported similar slow network browsing problems and found that when the WebClient service is turned off, the problem disappears. This is certainly something that should be explored as it is a simple solution if it works.

Windows NT and 2k clients experience this problem, and webclient is off.

Inconsistent WINS Configuration
This type of problem is common when one client is configured to use a WINS server (that is a TCP/IP configuration setting) and there is no WINS server on the network. Alternately, this will happen is there is a WINS server and Samba is not configured to use it. The use of WINS is highly recommended if the network is using NetBIOS over TCP/IP protocols. If use of NetBIOS over TCP/IP is disabled on all clients, Samba should not be configured as a WINS server neither should it be configured to use one.

Clients use NetBIOS over TCP/IP and the server is configured to use WINS.


Incorrect DNS Configuration
If use of NetBIOS over TCP/IP is disabled, Active Directory is in use and the DNS server has been incorrectly configured. Refer DNS and Active Directory for more information.

Doesnt apply


Here is my smb.conf (snipped a bit, names changed):

Code:


# Global parameters
[global]
        workgroup = SLOWBROWSING
        netbios name = SERVER
        server string = slow browsing file server
        security = DOMAIN
        encrypt passwords = Yes
        password server = domainpdc domainbdc
        wins server = 192.168.1.5

[deathstar]
        comment = wait in line for a crappy movie
        path = /path/2/share
        valid users = +stormtroopers
        admin users = +ewoks
        force user = luke
        force group = usetheforce
        read only = No
        directory mask = 0750
        force directory mode = 0770



Not sure whats going on here, anyone deal with this before??

thanks!
Back to top
View user's profile Send private message
petrjanda
Veteran
Veteran


Joined: 05 Sep 2003
Posts: 1557
Location: Brno, Czech Republic

PostPosted: Fri Feb 18, 2005 1:10 pm    Post subject: Reply with quote

Is your samba server running wins or are you running wins on another pc? It doesnt happen to our client workstations, but this kind of problem happens on my professor's laptop. I guess its because either: wins being misconfigured(which i doubt since normal clients do not experience this problem), professor's laptop has a shitty NIC in it. I will have to upgrade NIC's in the server also-> they are shitty realtek 8139.
_________________
There is, a not-born, a not-become, a not-made, a not-compounded. If that unborn, not-become, not-made, not-compounded were not, there would be no escape from this here that is born, become, made and compounded. - Gautama Siddharta
Back to top
View user's profile Send private message
groovin
Guru
Guru


Joined: 07 Feb 2004
Posts: 429
Location: California, USA

PostPosted: Fri Feb 18, 2005 5:11 pm    Post subject: Reply with quote

thanks for the reply...

wins is being served out by another samba machine. probaly nothing wrong with wins since we have many servers here that rely on wins and this problem doesnt occur anywhere else except for on this particular server.

i hope its not the NIC going bad!
Back to top
View user's profile Send private message
petrjanda
Veteran
Veteran


Joined: 05 Sep 2003
Posts: 1557
Location: Brno, Czech Republic

PostPosted: Fri Feb 18, 2005 11:25 pm    Post subject: Reply with quote

groovin wrote:
thanks for the reply...

wins is being served out by another samba machine. probaly nothing wrong with wins since we have many servers here that rely on wins and this problem doesnt occur anywhere else except for on this particular server.

i hope its not the NIC going bad!

try to add to your global config

dns proxy=yes
_________________
There is, a not-born, a not-become, a not-made, a not-compounded. If that unborn, not-become, not-made, not-compounded were not, there would be no escape from this here that is born, become, made and compounded. - Gautama Siddharta
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum