IBM Informix Dynamic Server process blocked due to deadlock on ext4 filesystem mounted without a journal.
Issue
- IBM Informix Dynamic Server
oninit
process hanging, resulting in unresponsive/hung database connections due to deadlock onext4
filesystem mounted without a journal. - IBM Informix Dynamic Server
oninit
process blocked with the following call traces.
[428617.156430] INFO: task oninit:4327 blocked for more than 120 seconds.
[428617.156431] Not tainted 4.18.0-425.10.1.el8_7.x86_64 #1
[428617.156433] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[428617.156433] task:oninit state:D stack: 0 pid: 4327 ppid: 4300 flags:0x00004084
[428617.156436] Call Trace:
[428617.156437] __schedule+0x2d1/0x860
[428617.156439] ? blk_flush_plug_list+0xd7/0x100
[428617.156441] schedule+0x35/0xa0
[428617.156443] ext4_unwritten_wait+0x87/0xc0 [ext4]
[428617.156460] ? finish_wait+0x80/0x80
[428617.156462] ext4_file_write_iter+0x396/0x3e0 [ext4]
[428617.156478] aio_write+0xf6/0x1c0
[428617.156480] ? blk_mq_sched_insert_requests+0x6c/0xf0
[428617.156483] ? io_submit_one+0x7e/0x3c0
[428617.156484] ? kmem_cache_alloc+0x13f/0x280
[428617.156486] io_submit_one+0x131/0x3c0
[428617.156488] __x64_sys_io_submit+0xa2/0x180
[428617.156489] ? syscall_trace_enter+0x1ff/0x2d0
[428617.156492] do_syscall_64+0x5b/0x1b0
[428617.156494] entry_SYSCALL_64_after_hwframe+0x61/0xc6
[428617.156497] RIP: 0033:0x7fd1d50409bd
[428617.156499] Code: Unable to access opcode bytes at RIP 0x7fd1d5040993.
[428617.156500] RSP: 002b:00000000531c4da8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
[428617.156501] RAX: ffffffffffffffda RBX: 00007fd1d698ab78 RCX: 00007fd1d50409bd
[428617.156502] RDX: 00000000531c4de8 RSI: 0000000000000001 RDI: 00007fd1c4593000
[428617.156503] RBP: 00007fd1c4593000 R08: 00000001358df800 R09: 000000005667b8d8
[428617.156504] R10: ffffffffffffffe0 R11: 0000000000000246 R12: 0000000000000001
[428617.156505] R13: 0000000000000000 R14: 00000000531c4de8 R15: 000000005667b850
[..]
[428617.158050] Kernel panic - not syncing: hung_task: blocked tasks
[428617.158052] CPU: 7 PID: 126 Comm: khungtaskd Kdump: loaded Not tainted 4.18.0-425.10.1.el8_7.x86_64 #1
[428617.158053] Hardware name: VMware, Inc. VMware7,1/440BX Desktop Reference Platform, BIOS VMW71.00V.18227214.B64.2106252220 06/25/2021
[428617.158054] Call Trace:
[428617.158055] dump_stack+0x41/0x60
[428617.158058] panic+0xe7/0x2ac
[428617.158062] watchdog+0x242/0x2f0
[428617.158065] ? hungtask_pm_notify+0x50/0x50
[428617.158068] kthread+0x10b/0x130
[428617.158070] ? set_kthread_struct+0x50/0x50
[428617.158073] ret_from_fork+0x1f/0x40
Environment
- Red Hat Enterprise Linux release 8.7 (Ootpa)
- 4.18.0-425.10.1.el8_7.x86_64
- EXT4 filesystem without a journal.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.