System hangs with lots of D state process in '__sb_start_write'
Issue
- System shows high load average and there were many hung tasks messages.
...
INFO: task ora_dbw0_compqa:3367 blocked for more than 120 seconds.
Not tainted 4.18.0-372.9.1.el8.x86_64 #1
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:ora_dbw0_compqa state:D stack: 0 pid: 3367 ppid: 1 flags:0x00000080
Call Trace:
__schedule+0x2d1/0x830
schedule+0x35/0xa0
percpu_rwsem_wait+0xc2/0x170
? percpu_down_write+0xe0/0xe0
__percpu_down_read+0x2a/0x40
__sb_start_write+0x50/0x70
vfs_write+0x13e/0x1a0
ksys_pwrite64+0x61/0xa0
do_syscall_64+0x5b/0x1a0
entry_SYSCALL_64_after_hwframe+0x65/0xca
RIP: 0033:0x7f375b0a5438
Code: Unable to access opcode bytes at RIP 0x7f375b0a540e.
RSP: 002b:00007ffcfc039fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000012
RAX: ffffffffffffffda RBX: 0000000000002000 RCX: 00007f375b0a5438
RDX: 0000000000002000 RSI: 0000000215a2a000 RDI: 0000000000000103
RBP: 00007ffcfc03e9d0 R08: 00007ffcfc0a2090 R09: 00000000076ea900
R10: 0000000036a10000 R11: 0000000000000246 R12: 00007f3759631420
R13: 0000000e8d291e24 R14: 0000000000000000 R15: 00007f3759631628
...
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- VMware virtual machine
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.