[Samba] delay on directory browse

Andrea Airaghi a.airaghi at netspin.it
Fri Nov 13 09:36:21 MST 2009


I have a samba file server V.3.3.2 installed on a Ubuntu 9.04 server used
from about 10 workstations in LAN with Windows/MacOSX.
Both OS sometimes when browse some folder have 20-30 seconds delay before
the directory listing.

Here my smb.conf:
[global]

   workgroup = yadayada
   server string = %h server (Samba, Ubuntu)
   log file = /var/log/samba/log.%m
   max log size = 100000
   syslog = 0
   security = share
   load printers = no
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   use sendfile = No
   read raw = yes
   write raw = yes
   #wins support = Yes
   debug level = 3

[Archivio]

        comment = Archivio
        writeable = yes
        path = /home/archivio
        public = yes
        guest account = nobody
        guest ok = yes



And here is some log lines grabbed with verbosity = 3:

[2009/11/13 16:34:35,  3] smbd/oplock_linux.c:linux_init_kernel_oplocks(241)
  Linux kernel oplocks enabled

[2009/11/13 16:35:14,  3] lib/sysquotas.c:sys_get_quota(453)
  sys_get_vfs_quota() failed for mntpath[/home] bdev[/dev/cciss/c0d0p3] qtype[4]
 id[65534]: Invalid argument

[2009/11/13 16:14:15,  3] smbd/error.c:error_packet_set(61)
  error packet at smbd/notify.c(144) cmd=160 (SMBnttrans) NT_STATUS_OK

[2009/11/13 16:14:14,  3] locking/locking.c:fetch_share_mode_unlocked(857)
  fill_share_mode_lock failed

[2009/11/13 16:14:14,  3] smbd/error.c:error_packet_set(61)
  error packet at smbd/trans2.c(2159) cmd=50 (SMBtrans2) NT_STATUS_NO_SUCH_FILE

[2009/11/13 15:48:53,  3] lib/charcnv.c:convert_string_internal(263)
  convert_string_internal: Conversion error: Illegal multibyte sequence(<U+F028>



Any hint? Thanks
) 



More information about the samba mailing list