[Samba] Very slow file copy performance over a WAN (HELP)

James Lamanna jlamanna at gmail.com
Fri Oct 5 18:28:42 GMT 2007

I've noticed that over a WAN (T1) I'm getting incredibly slow file
copy performance.
Using smbclient on a linux machine on one size of the WAN,
As you can imagine, this makes all of our file shares unusable over the WAN.
It's not an issue with WAN performance, because using scp to transfer
the same file, I get speeds of ~145k/s.
A tcpdump of the file copy of ~2MB file that actually
times out with the following error is up at:

-- Timeout Error --

Short read when getting file \Finance\monthly_reports\Aug07.xls. Only
got 967680 bytes.
Error Call timed out: server did not respond after 20000 milliseconds
closing remote file

-- Scp Results --
scp root at fs0:/export/data/Finance/Monthly_reports/Aug07.xls .
Aug07.xls       100% 2269KB 174.5KB/s   00:13

-- File server samba config --

workgroup = XXXXXXXXX
netbios name = FS0
enable privileges = yes
server string = FS0

log file = /var/log/samba/log.%m
max log size = 50
#log level = 3 passdb:5 auth:10
log level = 10

hosts allow =

map to guest = Bad User
guest account = nobody
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/private/smbpasswd
wins server =
wins support = no

name resolve order = wins lmhosts host bcast
wins support = no
dns proxy = no

use sendfile = yes
max xmit = 16644
interfaces = lo eth1

hide unreadable = yes
hide dot files = yes

path = /export/data
browseable = yes
writeable = yes
default case = lower
preserve case = yes
show preserve case = yes
case sensitive = no
write list = @"Domain Users" @root
create mask = 0775
directory mask = 0775
oplocks = no
level2 oplocks = no

More information about the samba mailing list