[Samba] Constant error messages about failure to remove oplock
Volker Lendecke
Volker.Lendecke at SerNet.DE
Thu Jul 9 07:20:37 UTC 2015
On Thu, Jul 09, 2015 at 10:39:58AM +0530, Shyam Kaushik wrote:
> Hi All,
>
> Need your help/inputs on what could be the probable cause/how to debug
> this further.
>
> We are using samba-4.0.25 & expose a share that has oplocks enabled & no
> kernel-oplocks set. We constantly see these messages in samba logs
>
> [2015/06/25 03:05:30.593150, 0, pid=1581, class=locking]
> ../source3/smbd/oplock_linux.c:184(linux_release_kernel_oplock)
> linux_release_kernel_oplock: Error when removing kernel oplock
> on file ~test.pst.tmp, file_id = 10fcbd:4a9ff1c:0, gen_id = 3680654993.
> Error was Resource temporarily unavailable
Do you have "kernel oplocks = no" set? Then this is
surprising to see. If you can reproduce it, can you send the
output of
strace -ttT -p <smbd-pid>
for such an smbd from before opening the file to the error?
Thanks,
Volker Lendecke
--
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
More information about the samba
mailing list