[Samba] samba slow at overwriting of files

don.guido at gmx.net don.guido at gmx.net
Thu Feb 6 09:54:41 GMT 2003


dear samba list members,

I recently installed RedHat 8.0 with samba 2.2.7 (already updated, was 2.2.5
before I think, but with the same problem). now I have the problem, that
overwriting of files on shares of that samba machine sometimes is extremely
slow. writing new files is fast as ever. but what seems interesting to me is,
that it depends on how I'm overwriting files.
for example I'm working with homesite 5, which needs up to 15sec to
overwrite a simple html file. ultraedit(a text editor) on the other hand has no
problems with overwriting. 

an other example: copying files with windows commander (now: total
commander) is extremely slow too if I'm copying files that already exist on the target
network drive. on the other hand, if I copy a file in windows commander with
ctrl-C and then paste it on the samba share with ctrl-V, it's fast, no
problem!

has anyone already experienced (and solved) this problem?

any help is very much appreciated!

oliver

ps: my smb.conf settings are below.


#======================= Global Settings
=====================================
[global]

   workgroup = LAN

   server string = Lobo

   hosts allow = 10.0.

   printcap name = /etc/printcap
   load printers = no

   printing = lprng

   log file = /var/log/samba/%m.log

   max log size = 0

   security = domain

   password server = JACK

   encrypt passwords = yes
   smb passwd file = /etc/samba/smbpasswd

   unix password sync = No
   passwd program = /usr/bin/passwd %u
   passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:

   pam password change = yes

  obey pam restrictions = yes

   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

   interfaces = 10.0.0.5/16

   dns proxy = no 


#============================ Share Definitions
==============================
[homes]
   comment = Home Directories
   browseable = no
   writable = yes
   valid users = %S
   create mode = 0664
   directory mode = 0775


[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
# Set public = yes to allow user 'guest account' to print
   guest ok = no
   writable = no
   printable = yes


[www]
   comment = document root
   path = /www
   public = yes
   writable = yes
   printable = no
   create mask = 0755
   force user = www

[root]
   comment = / on %h
   path = /
   public = yes
   writeable = yes
   valid users = oliver
   force user = root
   create mask = 0755

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!



More information about the samba mailing list