[Samba] Samba Storage Server getting extremely slow!!!

Narayanan Subramaniam narayanan.s at focuzinfotech.com
Mon Apr 10 04:49:06 GMT 2006


Dear Eric Warnke
   Thanks for your valuable suggestions . I am freeing up the space
in storage partitions and i will be then monitoring the performance.
I will get back to you with the status. 

Following is the smb.conf  i am having . 

[global]
   workgroup = CLUST1
   netbios name = cluststorage
   server string = Cluster Storage Server
   printcap name = /etc/printcap
   load printers = yes
   log file = /var/log/samba/log.smbd
   max log size = 50
   security = user
  encrypt passwords = yes
 smb passwd file = /etc/samba/smbpasswd
  unix password sync = no
  passwd program = /usr/bin/passwd %u
  passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   local master = no
   domain master = no 
   preferred master = no
   
dead time = 100 
   wins server = 192.168.0.254
   dns proxy = no 
[project1]
	writeable = yes
	locking = no
	only user = yes
	path = /storage/project1
	create mask = 2666
	directory mask = 2777
	comment = Project1 
	valid users = sam,john,root, at users,clustnode
[backup]
	create mask = 2666
	comment = Project Backup
	directory mask = 2777
	browseable = yes
	writeable = yes
	valid users = clusteradmin,administrator
	path = /storage/probackup
[project2]
   comment = Project 2  
   path = /storage/project2
   public = no
   valid users = @users
   browseable = yes
   writable = yes
 create mask = 2666
    directory mask = 2777
[Libraries]
   comment = Libraries
   path = /storage/libraries
   public = no
   valid users = @users
   browseable = yes
   writable = yes
 create mask = 2666
    directory mask = 2777
 [clusterlogs]
   comment = cluster logs
   path    = /storage/clusterlogs
   public  = no
   valid users = @users,clusternode
   browseable  = yes
   writeable   = yes
 create mask = 2666
    directory mask = 2777


Here the dead time is set as 100. 


Regds

Narayanan S

On Sun, 2006-04-09 at 10:42 -0400, Eric Warnke wrote:
> I would say that, generally, the speed of writes under most OS and
> filesystems becomes slower the less space is free on the device.  This
> is a direct result of the OS doing more work to find free space on the
> device.  I think your first step will be ruling out that performance
> bottleneck before looking at samba for more tuning. 
> 
> If you are still having trouble it would be important to know you
> filesystems as well as your smb.conf to see how they might be
> affecting performance as well.
> 
> Cheers,
> Eric
> 



-- 
This message has been scanned for viruses and
dangerous content by Techfocuz Communicator 2.6  (http://www.focuzinfotech.com), and is
believed to be clean.



More information about the samba mailing list