[PATCH] Fix bug #13121 - Non-smbd processes using kernel oplocks can hang smbd

Gary Lockyer gary at catalyst.net.nz
Thu Nov 16 03:16:11 UTC 2017



On 16/11/17 10:42, Jeremy Allison via samba-technical wrote:
> On Thu, Nov 16, 2017 at 10:38:26AM +1300, Andrew Bartlett wrote:
>> On Wed, 2017-11-15 at 13:29 -0800, Jeremy Allison via samba-technical
>> wrote:
>>> On Thu, Nov 16, 2017 at 10:18:26AM +1300, Gary Lockyer wrote:
>>>
>>>> Ok just failed logs attached.
>>>> [558(3552)/2212 at 1h9m32s] samba3.smb2.kernel-oplocks(nt4_dc)
>>>> Bad child exit code 10
>>>
>>> Right - the key is the above. It comes from here in my new
>>> patch:
>>>
>>> +       if (got_alarm == 1) {
>>> +               return 10;
>>> +       }
>>>
>>> which means that the alarm(5) is firing in the client.
>>>
>>> This means your kernel is not sending a RT_SIGNAL_LEASE
>>> signal correctly to the client process holding the lease.
>>>
>>> AKA - you're running with a broken kernel.
>>
>> I've just worked with Gary to use a more recent 14.04 image for the
>> cloud builds, that should clear this up.
> 
> Great, thanks ! If one of your Team could also +1 the
> additional patch I'll push it to master so at least
> we won't hang anymore if running on a broken kernel
> and give some feedback as to what is wrong.
> 
> Cheers,
> 
> 	Jeremy.
> 
Passes our auto builds on a Ubuntu 14.04 with a more current kernel


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


More information about the samba-technical mailing list