[Samba] slow samba performance
Gurnish Anand
gurnish at murphybank.com
Mon Jun 13 17:01:19 GMT 2005
Hello,
We upgraded from Samba 2.2.8 to 3.0 and now Samba performance is
really slow !!
It takes awefully long to load the profiles than it did before. Even
browsing the shares has lag.
Please give me some tips on how I should increase this performance. I
have attached the smb.conf file. All the parameters are the same. And we
are using a much faster system too.
[global]
workgroup = Bank
netbios name = fileserver
; server string = primary domain server running samba%v
server string = fileserver
security = user
read raw = no
min password length = 6
obey pam restrictions = Yes
admin users = gurnish @employee
pam password change = Yes
; username map = /etc/passwd
smb passwd file = /etc/samba/smbpasswd
passwd program = /usr/bin/passwd %u
encrypt passwords = Yes
passwd chat = *New*Unix*Password* %n\n
*Retype*new*Unix*password*%n\n *passwd: all authentication tokens
updated successfully* %n
passwd chat debug = Yes
username level = 10
unix password sync = no
log level = 2
case sensitive = no
log file = /var/log/samba/log.%m
max log size = 50
time server = Yes
unix extensions = Yes
socket options = TCP_NODELAY SO_KEEPALIVE IPTOS_LOWDELAY
SO_SNDBUF=8576 SO_RCVBUF=8576
admin users = @employee, administrator, @administrators
add user script = /usr/sbin/useradd -d /dev/null -g machines -c
'Machine Account' -s /bin/false -M %u
logon script = netlogon.bat
logon path = \\%L\profile\%u.pds
logon home =
domain logons = Yes
os level = 64
preferred master = Yes
domain master = yes
wins support = true
name resolve order = wins lmhosts hosts bcast
hosts allow = 127.0.0.1 172.16.1.0/255.255.255.0
192.168.2.0/255.255.255.0
; hosts allow = 127.0.0.1 192.168.2.0/255.255.255.0
; password server = None
hosts deny = 0.0.0.0/0 @web 192.168.2.200
veto files = /*.mp3/*.divx/*.eml/
[profile]
path = /home/samba/profile
force user = %U
writeable = yes
create mask = 0600
directory mask = 0700
guest ok = Yes
profile acls = Yes
browseable = No
csc policy = disable
More information about the samba
mailing list