--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: nfs-common: Machines that mount an NFS drive hang
- From: "Problems with NFSv 4.0 against debian bullseye over proxmox 7.3 kernel 5.15.74-1-pve" <mgual@benicarlo.org>
- Date: Wed, 01 Feb 2023 12:17:13 +0100
- Message-id: <167525023365.77977.17404620719389640258.reportbug@et089601.bnc>
Package: nfs-common
Version: 1:1.3.4-6
Severity: normal
Dear Maintainer,
Error: NFS: __nfs4_reclaim_open_state: Reclaim lock failed!
* What led to the situation?
Migrate NFS server from debian 9 to debian 11.
* What exactly did you do (or didn't do) that was effective (or ineffective)?
Apparently everything works correctly with few users, when I increase to more than 20 or 30 users the blockages begin in the machines.
* What was the result of this action?
Error on clients: NFS: __nfs4_reclaim_open_state: Reclaim lock failed!
The clients are blocked and the client machines cannot be used.
* What results did you expect instead?
That the server will work without problems with the more than 50 users.
*** Cliente ***
-- Package-specific info:
-- rpcinfo --
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
-- /etc/default/nfs-common --
NEED_STATD=
STATDOPTS=
NEED_IDMAPD=
NEED_GSSD=
-- /etc/idmapd.conf --
[General]
Verbosity = 0
Pipefs-Directory = /run/rpc_pipefs
[Mapping]
Nobody-User = nobody
Nobody-Group = nogroup
-- /etc/fstab --
doc-ajt:/srv/samba /usr/local/samba/doc-ajt nfs auto,soft,nfsvers=4.0 0 0
#home-ajt:/srv/home-bullseye /home nfs auto,soft,nfsvers=4.0 0 0
home-ajt:/srv/home-bullseye /home nfs auto,soft 0 0
bullseye-ajt:/srv/bullseye /usr/local/bullseye nfs auto,soft,nfsvers=4.0 0 0
si-ajt:/srv/si /usr/local/si nfs auto,soft,nfsvers=4.0 0 0
-- /proc/mounts --
doc-ajt:/srv/samba /usr/local/samba/doc-ajt nfs4 rw,relatime,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,soft,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=172.20.11.39,local_lock=none,addr=172.20.10.126 0 0
doc-ajt:/srv/si /usr/local/si nfs4 rw,relatime,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,soft,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=172.20.11.39,local_lock=none,addr=172.20.10.126 0 0
doc-ajt:/srv/bullseye /usr/local/bullseye nfs4 rw,relatime,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,soft,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=172.20.11.39,local_lock=none,addr=172.20.10.126 0 0
home-ajt:/srv/home-bullseye /home nfs4 rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,soft,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=172.20.11.39,local_lock=none,addr=172.20.10.122 0 0
-- System Information:
Debian Release: 11.6
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.18.0-0.deb11.4-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to ca_ES.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages nfs-common depends on:
ii adduser 3.118
ii keyutils 1.6.1-2
ii libc6 2.34-8
ii libcap2 1:2.44-1
ii libcom-err2 1.46.2-2
ii libdevmapper1.02.1 2:1.02.175-2.1
ii libevent-2.1-7 2.1.12-stable-1
ii libgssapi-krb5-2 1.18.3-6+deb11u3
ii libkeyutils1 1.6.1-2
ii libkrb5-3 1.18.3-6+deb11u3
ii libmount1 2.36.1-8+deb11u1
ii libnfsidmap2 0.25-6
ii libtirpc3 1.3.1-1+deb11u1
ii libwrap0 7.6.q-31
ii lsb-base 11.1.0
ii rpcbind 1.2.5-9
ii ucf 3.0043
Versions of packages nfs-common recommends:
ii python3 3.9.2-3
Versions of packages nfs-common suggests:
pn open-iscsi <none>
pn watchdog <none>
-- no debconf information
root@et089601:/home/mgual# dmesg -T | tail
[dc. de febr. 1 08:46:44 2023] NFS: __nfs4_reclaim_open_state: Lock reclaim failed!
[dc. de febr. 1 08:46:45 2023] NFS: __nfs4_reclaim_open_state: Lock reclaim failed!
[dc. de febr. 1 08:46:45 2023] NFS: __nfs4_reclaim_open_state: Lock reclaim failed!
[dc. de febr. 1 08:46:45 2023] NFS: __nfs4_reclaim_open_state: Lock reclaim failed!
[dc. de febr. 1 08:46:45 2023] NFS: __nfs4_reclaim_open_state: Lock reclaim failed!
[dc. de febr. 1 08:46:45 2023] NFS: __nfs4_reclaim_open_state: Lock reclaim failed!
[dc. de febr. 1 08:46:45 2023] NFS: __nfs4_reclaim_open_state: Lock reclaim failed!
[dc. de febr. 1 08:46:45 2023] NFS: __nfs4_reclaim_open_state: Lock reclaim failed!
[dc. de febr. 1 08:46:45 2023] NFS: __nfs4_reclaim_open_state: Lock reclaim failed!
[dc. de febr. 1 08:46:45 2023] NFS: __nfs4_reclaim_open_state: Lock reclaim failed!
*** Server ***
-- Package-specific info:
-- rpcinfo --
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100005 1 udp 36842 mountd
100005 1 tcp 47701 mountd
100005 2 udp 47222 mountd
100005 2 tcp 33515 mountd
100005 3 udp 49770 mountd
100005 3 tcp 35165 mountd
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100227 3 tcp 2049
100003 3 udp 2049 nfs
100227 3 udp 2049
100021 1 udp 45710 nlockmgr
100021 3 udp 45710 nlockmgr
100021 4 udp 45710 nlockmgr
100021 1 tcp 34937 nlockmgr
100021 3 tcp 34937 nlockmgr
100021 4 tcp 34937 nlockmgr
-- /etc/default/nfs-common --
NEED_STATD=
STATDOPTS=
NEED_IDMAPD=
NEED_GSSD=
-- /etc/idmapd.conf --
[General]
Verbosity = 0
Pipefs-Directory = /run/rpc_pipefs
[Mapping]
Nobody-User = nobody
Nobody-Group = nogroup
-- /etc/fstab --
-- System Information:
Debian Release: 11.6
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.15.74-1-pve (SMP w/10 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to ca_ES.UTF-8), LANGUAGE=ca_ES.UTF-8
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages nfs-common depends on:
ii adduser 3.118
ii keyutils 1.6.1-2
ii libc6 2.31-13+deb11u5
ii libcap2 1:2.44-1
ii libcom-err2 1.46.2-2
ii libdevmapper1.02.1 2:1.02.175-2.1
ii libevent-2.1-7 2.1.12-stable-1
ii libgssapi-krb5-2 1.18.3-6+deb11u3
ii libkeyutils1 1.6.1-2
ii libkrb5-3 1.18.3-6+deb11u3
ii libmount1 2.36.1-8+deb11u1
ii libnfsidmap2 0.25-6
ii libtirpc3 1.3.1-1+deb11u1
ii libwrap0 7.6.q-31
ii lsb-base 11.1.0
ii rpcbind 1.2.5-9
ii ucf 3.0043
Versions of packages nfs-common recommends:
ii python3 3.9.2-3
Versions of packages nfs-common suggests:
pn open-iscsi <none>
pn watchdog <none>
Versions of packages nfs-kernel-server depends on:
ii keyutils 1.6.1-2
ii libblkid1 2.36.1-8+deb11u1
ii libc6 2.31-13+deb11u5
ii libcap2 1:2.44-1
ii libsqlite3-0 3.34.1-3
ii libtirpc3 1.3.1-1+deb11u1
ii libwrap0 7.6.q-31
ii lsb-base 11.1.0
ii netbase 6.3
ii ucf 3.0043
-- no debconf information
--- End Message ---