Re: [BUG] NFSv4.1 client hang in nfs4_drain_slot_tbl under concurrent workload against Windows NFS server

From: Rick Macklem

Date: Sat May 16 2026 - 10:24:18 EST


On Wed, May 6, 2026 at 6:32 AM Lionel Cons <lionelcons1972@xxxxxxxxx> wrote:
>
> On Wed, 6 May 2026 at 09:49, 郭玲兴 <guolingxing@xxxxxxxxxx> wrote:
> >
> > Hi,
> >
> >
> > We encountered a reproducible NFSv4.1 client hang issue under concurrent workload.
> >
> >
> > Environment:
> > - Two independent Linux clients (VMs)
> > - Both mount the same Windows NFS server (NFSv4.1)
> > - Kernel version: 6.1.78
> > - Mount options: vers=4.1,soft,proto=tcp,timeo=60,retrans=10
Just fyi, "soft" mounts are often going to be troublesome for NFSv4.1.
(Whenever an RPC times out and doesn't wait for a reply from the server,
it will leave a session slot messed up.)

rick

>
> Which version of WindowsServer do you use, e.g what does the "ver"
> command in cmd.exe output? How did you set up the user accounts, and
> which authentication (AUTH_SYS, GSS, ...) do you use?
> Which CPU architecture do you use? How much memory do you have on the
> Linux NFS client?
>
> Lionel
>