[Samba] slow samba
iLinux
justin at rtechguys.com
Thu Jun 19 20:02:52 GMT 2008
I have a samba version 3.024 server joined to a ADS as a "Workstation or
server" acting as a file/print server. It is a Debian 4.0 amd64 up to date
with stable. ftp works just fine so not network, must be samba config.
vary slow file transfer when copying file from one computer but copy from
two or more at the same time speed is 10 times faster. You will be copying a
600MG file with one computer and it will say 80 minutes remaining. start
copying a file from a nother computer and 10X faster ( 4 minutes remaining
). Also when copying file from server with linux client 2 minutes 6.5 to 7.0
MBPS. It looks like it has something to do with cash. i have "winbind cache
time = 30" in my smb.config and "socket options = TCP_NODELAY
SO_RCVBUF=16384 SO_SNDBUF=16384" no help. Thanks in advance for your help.
Ok something new to report.
file.1 = 3.2G
file.2 = 640M
If I start copying file.1 from server with computer1 i get slow 0.3mbps :(
while computer1 still copying I start copying file.2 from server with
computer2 computer1 speed jumps to normal. and computer2 speed is normal.
if i cancel computer2's file copy of file.2 computer one speed goes back to
0.3mbps :(
new scenario
If I start copying file.1 from server with computer1 i get slow 0.3mbps :(
while computer1 still copying I start copying file.1 from server with
computer2 computer1 speed jumps to normal. and computer2 speed is normal.
if i cancel computer2's file copy of file.1 computer1's speed stays the same
and continues to get faster until full speed :)
If i even touch the same file from a nother computer or even the same
computer that file will copy normal.
*************smb.conf*******************
[global]
netbios name = SERVERNAME
workgroup = DOMAIN
server string = Samba Server
idmap uid = 10000-20000
idmap gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
winbind use default domain = Yes
winbind nested groups = Yes
winbind cache time = 300
winbind separator = +
password server = *
preferred master = no
max log size = 50
log file = /var/log/samba/log.%m
log level = 3
encrypt passwords = true
dns proxy = no
realm = SEDGWICK.GOV
security = ADS
wins server = 172.xx.xx.xx 172.xx.xx.xx
wins proxy = no
load printers = yes
printing = cups
printcap name = cups
admin users = @"DOMAIN+domain admins",@"DOMAIN+wsadmin"
template shell = /bin/bash
[share]
comment = Dept on aging share
path = /home/samba/share
browseable = yes
guest ok = no
read only = no
inherit acls = yes
inherit permissions = yes
create mask = 700
directory mask = 700
vfs object = recycle
recycle:repository = .recycle/%U
recycle:keeptree = Yes
recycle:touch = Yes
recycle:versions = Yes
recycle:maxsixe = 0
recycle:exclude = ~$* *.TMP
#recycle:exclude_dir = /tmp
[user$]
comment = Dept user folders
path = /home/samba/user
browseable = yes
guest ok = no
read only = no
inherit acls = yes
inherit permissions = yes
create mask = 700
directory mask = 700
vfs objects = recycle
recycle:repository = %U/.recycle
recycle:keeptree = Yes
recycle:touch = Yes
recycle:versions = Yes
recycle:maxsixe = 0
recycle:exclude = ~$*
#recycle:exclude_dir = /tmp
[C$]
comment = Admin Share
path = /home/samba
browseable = yes
guest ok = yes
read only = no
admin users = @"DOMAIN+domain admins",@"DOMAIN+wsadmin"
[printers]
comment = All Printers
path = /var/spool/samba
browseable = yes
guest ok = yes
writable = no
printable = yes
[print$]
comment = Printer Drivers
path = /home/samba/drivers
browseable = yes
guest ok = no
read only = no
*************/etc/krb5.conf**************
[libdefaults]
ticket_lifetime = 24h
forwardable = yes
default_realm = DOMAIN.COM
default_tkt_enctypes = des3-hmac-sha1 des-cbc-crc
default_tgs_enctypes = des3-hmac-sha1 des-cbc-crc
[realms]
DOMAIN.COM = {
kdc = DOMAIN.COM
default_domain = DOMAIN
}
[domain_realm]
.domain.com = DOMAIN.COM
domain.com = DOMAIN.COM
[kdc]
profile = /etc/krb5kdc/kdc.conf
[logging]
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmin.log
default = FILE:/var/log/krb5lib.logog
--
View this message in context: http://www.nabble.com/slow-samba-tp17992390p18016995.html
Sent from the Samba - General mailing list archive at Nabble.com.
More information about the samba
mailing list