Hi,
I'm trying to replace a windows fileserver server with a Fedora Core 2
samba server in our Windows 2000 ADS domain.
A performance problem occurs when accessing certain samba shares from
Windows Explorer on either an Windows XP or a W2K client machine. It
can take up to a minute for explorer to list files in a share folder
containing only a few files! It eventually does, but but reports as non
responding for a long period beforehand.
I've gone about as far as I can in attempting to resolve this issue
myserlf and would appreciate any suggestions from the samba list!
Server Hardware:
HP Proliant ML 350 Xeon 1G mem
NetXtreme BCM5705_2 Gigabit Ethernet
Server Software
All FC2 packages updates applied as of early May 2005 including:
smp kernel 2.6.10-1.771
samba 3.0.10
Network Hardware
Linksys and 3com Switches (circa 2004)
Client hardware:
Windows 2000 SP4 and Windows XP Pro machines
In setting up the samba server, I followed the approach outlined in
Samba-3 By Example chapter 9.3.3 Active Directory Domain with samba
Domain Member Server. I also applied recommended tuning steps. The
setup all seemed to go impressively smoothly.
I suspect the problem is related to networking. Analysis in ethereal
shows a huge amount of traffic during the non responsive period. It
looks like every file is read in it's entirity in 512 byte increments?
Also, a lot of checksum messages come up.
Two highly abreviated text extracts from the ethereal logs are attached
(which are repeatable):
The first shows the (61 entries) activity involved in displaying
share //nghfs/downloads - which occurs quickly.
The second shows a sample of the excessive activity (57000 log entries!)
involved in displaying a sub folder share //nghfs/downloads/Mozilla -
which takes quite a few seconds although only contains 5 files and 2
folders.
The smb.conf file is also attached.
Any help is most welcome,
Stewart.
#Global parameters
[global]
unix charset = LOCALE
workgroup = NGHEALTH
realm = NGHEALTH.ORG
server string = NGHFS Samba
security = ADS
username map = /etc/samba/smbusers
log level = 3
syslog = 1
log file = /var/log/samba/%m
max log size = 50
printcap name = CUPS
ldap ssl = no
idmap uid = 1-2
idmap gid = 1-2
template primary group = Domain Users
template shell = /bin/bash
winbind separator = +
printing = cups
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
dead time = 10
getwd cache = yes
oplocks = no
level2 oplocks = no
#[homes]
# comment = Home Directories
# valid users = %S
# read only = No
# browseable = No
[printers]
comment = SMB Print Spool
path = /var/spool/samba
guest ok = Yes
printable = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
admin users = root NGHEALTH+Administrator @NGHEALTH+Domain Admins
write list = root
[ghost]
comment = Ghost Image Store
path = /mnt/images/images
admin users = root NGHEALTH+Administrator @NGHEALTH+Domain Admins
valid users = @NGHEALTH+Domain Admins
browseable = Yes
writable = Yes
oplocks = false
level2 oplocks = false
[software]
comment = Licensed Software [Restricted]
path = /home/software
admin users = root NGHEALTH+Administrator @NGHEALTH+Domain Admins
valid users = @NGHEALTH+Domain Admins
available = Yes
browseable = Yes
writable = Yes
create mask = 775
inherit permissions = yes
oplocks = false
level2 oplocks = false
[downloads]
comment = Downloads Directory [Public]
path = /home/downloads
admin users = root NGHEALTH+Administrator @NGHEALTH+Web Admins
valid users = @NGHEALTH+Domain Users
available = Yes
browseable = Yes
writable = Yes
create mask = 775
inherit permissions = yes
oplocks = false
level2 oplocks = false
[users]
comment = Offline users store
path = /home/users
admin users = root NGHEALTH+Administrator @NGHEALTH+Web Admins
valid users = @NGHEALTH+Domain Users
available = Yes
browseable = Yes
writable = No
oplocks = false
level2 oplocks = false
Open //NGHFS/downloads mapped drive share in Windows Exporer
No. TimeSourceDestination Protocol Info
55 157.836971 192.168.4.210 192.168.4.230 SMB Trans2
Request, QUERY_PATH_INFO, Query File Basic Info, Path: \Desktop.ini
No. TimeSourceDestination Protocol Info
56