logo

Searching for the cause of hung tasks in the Linux kernel

ID: ba0106dd-bb40-5d47-9bdf-55ca0345e62f

STIX ID: report--ba0106dd-bb40-5d47-9bdf-55ca0345e62f

Feed Name: Cloudflare Blog

Date Published: 2025-02-14

Date Updated: 2026-04-27

Author: Oxana Kharitonova

...
...

This post explains how Linux detects and reports hung tasks, how to tune related sysctls, and how to troubleshoot real-world causes using kernel logs, stack traces, and tools like bpftrace and drgn. Through examples (filesystem workqueue pressure, coredump-induced blocking, and RTNL mutex contention involving calico-node/WireGuard), it shows that hung task warnings often flag symptoms rather than root causes and provides practical guidance for isolating offenders and improving observability.

Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.