System panic due to hung task and slow getdents system call
Issue
- server rebooted while running find cmd
- System panicked with the following stack trace:
INFO: task find:6717 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
find D ffff81184c122420 0 6717 6716 6718 (NOTLB)
ffff8116f68e5e88 0000000000000082 ffffffff885a5c7b ffff8116f68e5e78
0000000040000020 0000000000000007 ffff8116fce19040 ffff8108300947f0
00000c6dcba35966 00000000000f5427 ffff8116fce19228 00000003885a0b02
Call Trace:
[<ffffffff80025eae>] filldir+0x0/0xb7
[<ffffffff80063c63>] __mutex_lock_slowpath+0x60/0x9b
[<ffffffff80063cad>] .text.lock.mutex+0xf/0x14
[<ffffffff80035696>] vfs_readdir+0x5c/0xa9
[<ffffffff80038f77>] sys_getdents+0x75/0xbd
[<ffffffff8005d23a>] tracesys+0x71/0xdf
[<ffffffff8005d29e>] tracesys+0xd5/0xdf
Kernel panic - not syncing: hung_task: blocked tasks
Environment
- Red Hat Enterprise Linux 5.10
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
