View previous topic :: View next topic |
Author |
Message |
groovin Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/StarCraft/starcraft_terran_ghost.gif)
Joined: 07 Feb 2004 Posts: 429 Location: California, USA
|
Posted: Fri Feb 18, 2005 12:40 am Post subject: slow browsing samba shares |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
petrjanda Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/92499387143e6705293ead.jpg)
Joined: 05 Sep 2003 Posts: 1557 Location: Brno, Czech Republic
|
Posted: Fri Feb 18, 2005 1:10 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
groovin Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/StarCraft/starcraft_terran_ghost.gif)
Joined: 07 Feb 2004 Posts: 429 Location: California, USA
|
Posted: Fri Feb 18, 2005 5:11 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
petrjanda Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/92499387143e6705293ead.jpg)
Joined: 05 Sep 2003 Posts: 1557 Location: Brno, Czech Republic
|
Posted: Fri Feb 18, 2005 11:25 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|