[Samba] Problem in long timeouts file access

L.P.H. van Belle belle at bazuin.nl
Wed Apr 20 16:19:04 UTC 2016


Try remove-ing this option. 

socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536
SO_SNDBUF=65536 

Should not be needed at al. 

Greetz, 

Louis



> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens mitja at mttv.it
> Verzonden: woensdag 20 april 2016 17:49
> Aan: samba at lists.samba.org
> Onderwerp: [Samba] Problem in long timeouts file access
> 
> 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
> 
> 
> 
> 
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba




More information about the samba mailing list