[Samba] performance problem with 3.2.8: unbuffered reads for some users

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Mar 4 15:16:44 GMT 2009


On Wed, Mar 04, 2009 at 03:58:20PM +0100, Alexander 'Leo' Bergolth wrote:
> Here's the log for the unbuffered session:
>   http://leo.kloburg.at/tmp/samba/log.gf2.gz

That's the key:

[2009/03/04 15:51:48,  3] smbd/oplock_linux.c:linux_set_kernel_oplock(138)
  linux_set_kernel_oplock: Refused oplock on file Firefox/LICENSE, fd = 28, file_id = fd03:157b181.  (Permission denied)

Do you have something like SELinux or so? Or do you share
the files via NFS and some NFS client has the files open? To
work around this problem, you might want to try setting

kernel oplocks = no

in the global section of your smb.conf file.

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20090304/55e64da1/attachment.bin


More information about the samba mailing list