[Samba] Please Help --- Samba accessing share very slowly
mallapadi niranjan
niranjan.ashok at gmail.com
Thu Mar 23 05:07:34 GMT 2006
Hi all
I have a samba 3.0.21c with openldap 2.3.19, with another linux system
having samba 3.0.21c acting as domain member server. (file server)
all my client access the file server shares extensively. about 100 users
access the file server at time,
this is making things very slow, on the file server about 180 smbd process
are getting created. on the file server i have 1gb of RAM with
2Gb of swap space, it occupies all the 1gb but never access swap space. The
share that they access is of 40gb of data
The access to the file server becomes so slow that all my client systems get
hanged (clients system windows 2k professional)
The server architecture of my file server IBM 226 series xeon server with
1gb ram and 73Gb hard disk.
on the file server when we do
smbclient //filesrv/share -U root%redhat
it says server did not respond after 20000 milliseconds.
what could be the problem is it that i need to upgrage the RAM, or
plese suggest or
can we do any changes share defination of smb.conf of my file server so that
access becomes quick.
the following is my smb.conf of domain member server ( file server)
###############################################################################################
[global]
unix charset = LOCALE
workgroup = msdpl.com
netbios name = prjsrv01
server string = Project Server 1
printcap name = /etc/printcap
load printers = yes
cups options = raw
log level = 2
log file = /usr/local/samba-3c/var/%U.%m.log
syslog = 0
max log size = 100
smb ports = 139
security = domain
username map = /usr/local/samba-3c/lib/smbusers
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
name resolve order = wins bcasts hosts
wins server = 192.168.129.20
dns proxy = no
ldap server = 192.168.129.20
ldap suffix = dc=msdpl,dc=com
ldap machine suffix = ou=Computers
ldap user suffix = ou=People
ldap group suffix = ou=Groups
ldap idmap suffix = ou=Idmap
ldap admin dn = cn=manager,dc=msdpl,dc=com
ldap ssl = no
ldap timeout = 50
acl check permissions = Yes
template shell = /bin/false
winbind use default domain = no
inherit permissions = yes
inherit acls = yes
nt acl support = yes
hide dot files = yes
#######################################Share
Definations########################################
[homes]
comment = Home Directories
valid users = %S
browseable = no
writable = yes
veto files =
/.bash_history/.bash_logout/.bash_profile/.bashrc/.canna/.emacs/.gtkrc/.kde/.viminfo/.xemacs/.zshrc/
hide dot files = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
[projects]
comment = All Projects
path = /projects
browseable = no
guest ok = no
writeable = yes
printable = no
veto files = desktop.ini/lost+found/.Trash-root/*.sh/*.scr/.recycle/
create mode = 2700
force create mode = 0700
force directory mode = 0700
inherit permissions = yes
inherit acls = yes
vfs objects = recycle
[datalib]
comment = DataLib
path = /datalib
browseable = no
writeable = yes
vfs objects = recycle
veto files = lost+found
inherit permissions = yes
inherit acls = yes
veto files = desktop.ini/lost+found/.Trash-root/*.sh/*.scr/.recycle/
[softdumps$]
Comment = Soft Dumps
Path = /dumps/softdumps
browseable = no
writeable = yes
inherit permissions = yes
inherit acls = yes
veto files = lost+found/.Trash-root/*.sh/*.scr/.recycle/
write list = @nns, root, @codesec
vfs objects = recycle
[dumps]
Comment = Dumps
Path = /dumps/dumps
browseable = yes
inherit permissions = yes
inherit acls = yes
vfs objects = recycle
veto files = desktop.ini/lost+found/.Trash-root/*.sh/*.scr/.recycle/
[hdrive$]
path = /home
browseable = no
public = no
writable = yes
create mask = 0765
veto files = desktop.ini
valid users = kr1233, root
force create mode = 0770
force directory mode = 0770
inherit permissions = yes
inherit acls = yes
hide dot files = yes
###############################################################################################
Regards
Niranjan
More information about the samba
mailing list