How do I confirm that the 'kernel.hung_task_panic' parameter works?

Solution Unverified - Updated -

Issue

  • After enabling "kernel.hung_task_panic", how do I confirm that it will work?
  • System didn't generate vmcore after encountering hung_task_timeout_secs messages, even when the hung_task_panic was set.
  • How do I simulate hung task to test it?

Environment

  • Red Hat Enterprise Linux 5, 6, 7, 8, 9
  • Kernel
  • Kexec-tools

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content