How do I fix kernel NMI watchdog bug soft lockup?

How do I fix kernel NMI watchdog bug soft lockup?

To resolve this behavior, perform the following steps as root user:

  1. Edit the file ‘/etc/sysctl.conf’ and add the following line at the end. “kernel.watchdog_thresh=30”
  2. Save and Exit.
  3. Reboot machine.

What is watchdog bug soft lockup?

A ‘soft lockup’ is defined as a bug that causes the kernel to loop in kernel mode for more than 20 seconds without giving other tasks a chance to run. The watchdog daemon will send an non-maskable interrupt (NMI) to all CPUs in the system who, in turn, print the stack traces of their currently running tasks.

What causes CPU soft lockup?

A soft lockup is the symptom of a task or kernel thread using and not releasing a CPU for a longer period of time than allowed. The technical reason behind a soft lock involves CPU interrupts and nmi-watchdog. For each online CPU on the system, a watchdog process gets created.

What is CPU lockup?

CPU Lockup Lockup is broadly defined as the symptom of a function or task using the CPU and not releasing it for a period of time.

What is NMI watchdog?

Non-Maskable Interrupt(NMI) is the highest priority interrupt that can not be masked by any software. NMI watchdog is available for i386 and amd64 architectures.In order to use the NMI watchdog, operating systems’ kernel must support APIC(Advanced Programmable Interrupt Controller) protocol.

What is Watchdog_thresh?

An NMI perf event is generated every “watchdog_thresh” (compile-time initialized to 10 and configurable through sysctl of the same name) seconds to check for hardlockups. The watchdog task is a high priority kernel thread that updates a timestamp every time it is scheduled.

What is a hard lock up?

A ‘hard lockup’ is defined as a bug that causes the CPU to loop in kernel mode for more than 10 seconds […], without letting other interrupts have a chance to run. In other words, during a soft lockup a kernel task won’t unlock the CPU, like in the good old DOS days. So “something or other” is left “hanging”.

What is Khugepaged?

thp_collapse_alloc is incremented by khugepaged when it has found a range of pages to collapse into one huge page and has successfully allocated a new huge page to store the data. thp_fault_fallback is incremented if a page fault fails to allocate a huge page and instead falls back to using small pages.

What causes nmi watchdog to get an error message?

Error message: “NMI watchdog: BUG: soft lockup – CPU#X stuck for XXs!” on console (67623) The most common cause for this could be due to the system is stunned or suffering very high latency. Check the following to verify: CPU values for both ESXi and a vCenter Virtual Machine.

What does ” kernel : nmi watchdog ” bug : soft lockup mean?

– Unix & Linux Stack Exchange What does “kernel:NMI watchdog: BUG: soft lockup” followed by other errors mean? I have my terminal always opened (Fedora 22), because all my work I do from there. Sometimes I search some info in browser or just have fun.

How to report a ” bug : soft lockup “?

[NetworkManager:945] kernel: NMI watchdog: BUG: soft lockup – CPU#7 stuck for 22s! [watchdog/7:41] A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more. New to Red Hat?

What is a soft lockup bug in SuSE?

A TID which explains how to configure and capture kernel dump can be found on the SUSE Support Website. A ‘soft lockup’ is defined as a bug that causes the kernel to loop in kernel mode for more than 20 seconds without giving other tasks a chance to run.