[PATCH] Fix bug #13121 - Non-smbd processes using kernel oplocks can hang smbd
jra at samba.org
Thu Nov 30 06:10:34 UTC 2017
On Wed, Nov 29, 2017 at 03:16:35PM -0800, Jeremy Allison via samba-technical wrote:
> > One idea: can we run the test as root, enable corefile generation on the sytem
> > and add a killall KILL smbd to the child when the alarm fires because no
> > RT_SIGNAL_LEASE was generated? We could then gdb the smbd session process
> > corefile and check whether it was stuck somewhere unexpectedly.
> Actually the other poster gave me an idea. We should be able
> to add an extra debug message from the smbd when it gets -1,EWOULDBLOCK
> on the open - and make sure that message gets logged.
I have an idea as to what might be causing this
problem. It suddenly came to me during dinner. Monica
asked me what the stupid look was on my face
and I had to say it was a possible "eurika"
Let me code up the idea, and test it on Andrew's
cloud servers that reproduce the issue 50% of the
time to see if it makes the test reliable.
More information about the samba-technical