Deadlock with vmtoolsd, autofs and frozen filesystems
Issue
System was in a hung state with this message in the system log:
INFO: task auditd:3016 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
auditd D 0000000000000118 0 3016 1 3042 3015 (NOTLB)
ffff8100b6f7dce8 0000000000000086 ffff8100bbac7100 0000000000000000
ffff81000bbc7400 000000000000000a ffff8100bbac7100 ffff81003a5f1040
00004a737e66bae4 0000000000002530 ffff8100bbac72e8 0000000000000000
Call Trace:
[<ffffffff800164d7>] __generic_file_aio_write_nolock+0x11f/0x3b6
[<ffffffff800a34a7>] autoremove_wake_function+0x0/0x2e
[<ffffffff80021872>] generic_file_aio_write+0x67/0xc3
[<ffffffff8804c1c2>] :ext3:ext3_file_write+0x16/0x91
[<ffffffff800183ac>] do_sync_write+0xc7/0x104
[<ffffffff800a34a7>] autoremove_wake_function+0x0/0x2e
[<ffffffff800e386f>] sys_fstatfs+0x57/0x68
[<ffffffff80016b29>] vfs_write+0xce/0x174
[<ffffffff800173f2>] sys_write+0x45/0x6e
[<ffffffff8005d116>] system_call+0x7e/0x83
Environment
- Redhat Enterprise Linux
- VMWare tools, vmtoolsd
- fsfreeze
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.