[Samba] Problem in long timeouts file access

mitja at mttv.it mitja at mttv.it
Wed Apr 20 15:49:04 UTC 2016


I have a very strange problem accessing some files on a samba share that
are in use from many windows7 client machines. I'm experiencing long
timeouts: 5-30 seconds per file on very small xml files.

The share is accessed by contemporary Windows7 machines at the time they
are shut down.
It seems to me that some of the files remain opened and locked to all
other clients at server side while the client using these files are
already shut down.
I had this problem on a samba 3.6.6 installation so i decided to update
to a more recent version 4.2.10 on Debian jessie.

But the problem still persists.

Mitja Tavcar

Here are the global an the share sections:

[global]
        workgroup = INTRA
        realm = INTRA.COMUNE.TRENTO.IT
        server string = File server samba lvsrv20
        security = ADS
        log file = /var/log/samba/%M_%U.smbd
        deadtime = 15
        socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536
SO_SNDBUF=65536
        load printers = No
        printcap name = /dev/null
        disable spoolss = Yes
        preferred master = No
        local master = No
        domain master = No
        template shell = /bin/bash
        winbind enum users = Yes
        winbind enum groups = Yes
        winbind use default domain = Yes
        winbind expand groups = 1
        idmap config intra : range = 10000-99999
        idmap config intra : backend = rid
        idmap config * : range = 1000000-2000000
        idmap config * : backend = tdb
        hosts allow = 192.168.0.0/255.255.0.0 10.0.4.0/255.255.255.0

[WPKG$]
	comment = Share di appoggio WPKG
	path = /smbmnt/disk_fa1/FA1/UsoSpecifico/WPKG
	valid users = "+INTRA\Domain Admins" "+INTRA\Domain Computers"
"+INTRA\domain users"
	admin users = "+INTRA\Domain Admins"
	write list = "+INTRA\Domain Admins"
	acl map full control = No
	inherit permissions = Yes
	inherit acls = Yes
	ea support = Yes
	map acl inherit = Yes
	map archive = No
	map readonly = no
	store dos attributes = Yes
	browseable = No
	copy = TemplateUsoSpecifico
	vfs objects = acl_xattr
	acl_xattr:ignore system acls = Yes




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20160420/b62a7707/signature.sig>


More information about the samba mailing list