Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Dec 2023 03:30:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 275905] nfs client: mount becomes unresponsive
Message-ID:  <bug-275905-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275905

            Bug ID: 275905
           Summary: nfs client: mount becomes unresponsive
           Product: Base System
           Version: 14.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: lexi.freebsd@le-fay.org

FreeBSD ilythia.eden.le-fay.org 14.0-RELEASE-p3 FreeBSD 14.0-RELEASE-p3 #0:=
 Mon
Dec 11 04:56:01 UTC 2023=20=20=20=20
root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC
amd64

this system has an NFSv4.2 mount from a FreeBSD 14.0 server using sec=3Dkrb=
5p.=20
after a few hours of activity (mostly low-volume random reads at ~5-10Mbps
throughput), the NFS mount has hung and cannot be accessed; 'df' and 'nfsst=
at
-m' also hang.  there's no NFS network traffic and no indication in the log=
s on
either system of a problem.  the Kerberos ticket isn't expired, and renewing
the ticket anyway made no difference.

according to kgdb, nfscl seems to be stuck in nfsv4_sequencelookup:

(kgdb) where
#0  sched_switch (td=3Dtd@entry=3D0xfffffe017c43a740, flags=3Dflags@entry=
=3D259) at
/usr/src/sys/kern/sched_ule.c:2297
#1  0xffffffff80b5028b in mi_switch (flags=3Dflags@entry=3D259) at
/usr/src/sys/kern/kern_synch.c:548
#2  0xffffffff80ba001b in sleepq_switch (wchan=3Dwchan@entry=3D0xfffff80075=
4bd9c0,
pri=3Dpri@entry=3D68) at /usr/src/sys/kern/subr_sleepqueue.c:607
#3  0xffffffff80ba05ef in sleepq_timedwait
(wchan=3Dwchan@entry=3D0xfffff800754bd9c0, pri=3D68) at
/usr/src/sys/kern/subr_sleepqueue.c:689
#4  0xffffffff80b4f9e0 in _sleep (ident=3Dident@entry=3D0xfffff800754bd9c0,
lock=3Dlock@entry=3D0xfffff800754bd810, priority=3Dpriority@entry=3D68,
wmesg=3D0xffffffff81195590 "nfsclseq", sbt=3D4294967000, pr=3Dpr@entry=3D0,=
 flags=3D256)
at /usr/src/sys/kern/kern_synch.c:219
#5  0xffffffff809ed270 in nfsv4_sequencelookup
(nmp=3Dnmp@entry=3D0xfffff802f5506000, sep=3Dsep@entry=3D0xfffff800754bd810,
slotposp=3Dslotposp@entry=3D0xfffffe017b087b38,
maxslotp=3Dmaxslotp@entry=3D0xfffffe017b087b34,
slotseqp=3Dslotseqp@entry=3D0xfffffe017b087b3c,
    sessionid=3Dsessionid@entry=3D0xfffffe017b087b40
"k\214\020\201\377\377\377\377\377\242\352\200\377\377\377\377\n\340h
D\257\353\v ", fnd_init=3Dfalse) at /usr/src/sys/fs/nfs/nfs_commonsubs.c:49=
89
#6  0xffffffff809e1c39 in nfsv4_setsequence (nmp=3D0xfffff802f5506000,
nd=3D0xfffffe017b087c38, sep=3D0xfffff800754bd810, dont_replycache=3D0,
cred=3D0xfffff800087f3c00) at /usr/src/sys/fs/nfs/nfs_commonsubs.c:4892
#7  0xffffffff809e12f1 in nfscl_reqstart (nd=3D0xfffffe017b087c38, procnum=
=3D32,
nmp=3D0xfffff802f5506000, nfhp=3D0x0, fhlen=3D0, opcntpp=3D<optimized out>,
sep=3D<optimized out>, vers=3D0, minorvers=3D0, cred=3D0xfffff800087f3c00) =
at
/usr/src/sys/fs/nfs/nfs_commonsubs.c:433
#8  0xffffffff80a11e77 in nfsrpc_renew (clp=3D<optimized out>, dsp=3Ddsp@en=
try=3D0x0,
cred=3Dcred@entry=3D0xfffff800087f3c00, p=3Dp@entry=3D0xfffffe017c43a740) at
/usr/src/sys/fs/nfsclient/nfs_clrpcops.c:4874
#9  0xffffffff809f7ae5 in nfscl_renewthread (clp=3Dclp@entry=3D0xfffffe0180=
c75000,
p=3D0xfffffe017c43a740) at /usr/src/sys/fs/nfsclient/nfs_clstate.c:2769
#10 0xffffffff80a2bde4 in start_nfscl (arg=3D<unavailable>,
arg@entry=3D0xfffffe0180c75000) at /usr/src/sys/fs/nfsclient/nfs_clport.c:7=
82
#11 0xffffffff80afdb7f in fork_exit (callout=3D0xffffffff80a2bdd0 <start_nf=
scl>,
arg=3D0xfffffe0180c75000, frame=3D0xfffffe017b087f40) at
/usr/src/sys/kern/kern_fork.c:1160
#12 <signal handler called>
#13 0x00000328911e38ca in ?? ()
Backtrace stopped: Cannot access memory at address 0x3288e984798
(kgdb) frame 5
#5  0xffffffff809ed270 in nfsv4_sequencelookup
(nmp=3Dnmp@entry=3D0xfffff802f5506000, sep=3Dsep@entry=3D0xfffff800754bd810,
slotposp=3Dslotposp@entry=3D0xfffffe017b087b38,
maxslotp=3Dmaxslotp@entry=3D0xfffffe017b087b34,
slotseqp=3Dslotseqp@entry=3D0xfffffe017b087b3c,
    sessionid=3Dsessionid@entry=3D0xfffffe017b087b40
"k\214\020\201\377\377\377\377\377\242\352\200\377\377\377\377\n\340h
D\257\353\v ", fnd_init=3Dfalse) at /usr/src/sys/fs/nfs/nfs_commonsubs.c:49=
89
warning: Source file is more recent than executable.
4989                                    mtx_sleep(&sep->nfsess_slots,
&sep->nfsess_mtx,

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275905-227>