Intensive NFS operations could lock whole system
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
After last update from kernel version 4.4.0-176-generic to 4.4.0-177-generic my machine which does repository mirrors on NFS filesystem hung.
After hang the system is pingable, and all processes run well until they need to perform IO operation. Then they end in 'D' state.
If dmesg -w -H is run prior to hang you could get following report:
[Apr22 16:06] INFO: task find:986 blocked for more than 120 seconds.
[ +0.000034] Not tainted 4.4.0-177-generic #207-Ubuntu
[ +0.000013] "echo 0 > /proc/sys/
[ +0.000024] find D f4bbdd2c 0 986 721 0x00000000
[ +0.000010] f4bbdd1c 00000086 41ed78a0 f4bbdd2c eb5b7844 c1b36ec0 95907572 00000025
[ +0.000003] f4eb7e00 c1b1da80 f3ab6e00 f4bbe000 f3ab6e00 f53ae3a8 f4bbdd28 c17ec5cd
[ +0.000002] 000001ff f4bbdd78 c11a8b57 f4bbdd3c f87bb75b f76ae800 f4bbdd50 f87b2bdd
[ +0.000002] Call Trace:
[ +0.000006] [<c17ec5cd>] schedule+0x2d/0x80
[ +0.000012] [<c11a8b57>] kmap_high+
[ +0.000013] [<f87bb75b>] ? nfs_revalidate_
[ +0.000005] [<f87b2bdd>] ? nfs_check_
[ +0.000004] [<c11d2c95>] ? kmem_cache_
[ +0.000012] [<c109ee50>] ? wake_up_q+0x70/0x70
[ +0.000003] [<c106bec0>] kmap+0x40/0x50
[ +0.000006] [<f87b4e0d>] nfs_readdir_
[ +0.000005] [<f87b6835>] ? nfs4_lookup_
[ +0.000002] [<c11e4d62>] ? mem_cgroup_
[ +0.000011] [<f87b50bb>] nfs_readdir_
[ +0.000002] [<c117e3b2>] do_read_
[ +0.000019] [<f87b50a0>] ? nfs_readdir_
[ +0.000002] [<c117e464>] read_cache_
[ +0.000004] [<f87b5261>] nfs_readdir+
[ +0.000003] [<c13d21b6>] ? _copy_to_
[ +0.000002] [<c135fba5>] ? common_
[ +0.000016] [<fbaac1c0>] ? nfs4_xdr_
[ +0.000003] [<c1201c2e>] iterate_
[ +0.000002] [<c120bde2>] ? set_close_
[ +0.000002] [<c120224d>] SyS_getdents64+
[ +0.000001] [<c1201e10>] ? filldir+0x140/0x140
[ +0.000002] [<c100397f>] do_fast_
[ +0.000011] [<c17f08b0>] sysenter_
[ +0.000002] INFO: task bash:1065 blocked for more than 120 seconds.
[ +0.000015] Not tainted 4.4.0-177-generic #207-Ubuntu
[ +0.000020] "echo 0 > /proc/sys/
[ +0.000018] bash D 00000017 0 1065 760 0x00000000
[ +0.000002] f1b87e44 00000086 c11a799b 00000017 00000000 f1f1eff8 b37c5095 00000025
[ +0.000003] f4eb7e00 c1b1da80 f3ab3c00 f1b88000 f3ab3c00 f53b0298 f1b87e50 c17ec5cd
[ +0.000002] 000001ff f1b87ea0 c11a8b57 f3ab3c00 f3131000 f3ab3c00 00000001 00000000
[ +0.000002] Call Trace:
[ +0.000003] [<c11a799b>] ? follow_
[ +0.000001] [<c17ec5cd>] schedule+0x2d/0x80
[ +0.000001] [<c11a8b57>] kmap_high+
[ +0.000002] [<c109ee50>] ? wake_up_q+0x70/0x70
[ +0.000001] [<c106bec0>] kmap+0x40/0x50
[ +0.000002] [<c11f4ae8>] copy_strings+
[ +0.000002] [<c11f4be6>] copy_strings_
[ +0.000001] [<c11f5b29>] do_execveat_
[ +0.000002] [<c11fd62a>] ? getname_
[ +0.000001] [<c11f5fb4>] SyS_execve+
[ +0.000002] [<c100397f>] do_fast_
[ +0.000002] [<c17f08b0>] sysenter_
I did NOT noticed such behaviour on x86_64 architecture, only on i386.
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version k4.4.0-177-generic.
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.20.1-0ubuntu2.23
Architecture: i386
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/
Card0.Amixer.info: Error: [Errno 2] No such file or directory
Card0.Amixer.
DistroRelease: Ubuntu 16.04
IwConfig: Error: [Errno 2] No such file or directory
Lsusb:
Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: innotek GmbH VirtualBox
Package: linux (not installed)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 vboxdrmfb
ProcKernelCmdLine: root=/dev/sda2 quiet splash
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.157.22
RfKill: Error: [Errno 2] No such file or directory
Tags: xenial xenial
Uname: Linux 4.4.0-177-generic i686
UnreportableReason: The report belongs to a package that is not installed.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: False
dmi.bios.date: 12/01/2006
dmi.bios.vendor: innotek GmbH
dmi.bios.version: VirtualBox
dmi.board.name: VirtualBox
dmi.board.vendor: Oracle Corporation
dmi.board.version: 1.2
dmi.chassis.type: 1
dmi.chassis.vendor: Oracle Corporation
dmi.modalias: dmi:bvninnotekG
dmi.product.name: VirtualBox
dmi.product.
dmi.sys.vendor: innotek GmbH
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1874266
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.