Site Tools


linux:general:troubleshooting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
linux:general:troubleshooting [2018/09/05 10:40] lunetikklinux:general:troubleshooting [2019/10/07 18:06] lunetikk
Line 163: Line 163:
  
 The connection should work now.  The connection should work now. 
 +\\
 +\\
 +
 +==== Bug: soft lockup in messages ====
 +
 +=== Description ===
 +
 +You can find multiple "Bug: soft lockup" entries in /var/log/messages or journalctl
 +
 +<code>
 +May 25 07:23:59 XXXXXXX kernel: [13445315.881356] BUG: soft lockup - CPU#16 stuck for 23s! [yyyyyyy:81602]
 +</code>
 +
 +=== Reason === 
 +
 +>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. 
 +-SUSE KB [[https://www.suse.com/support/kb/doc/?id=7017652|7017652]]
 +
 +=== Fix === 
 +
 +__Solution 1:__
 +
 +Restart your system and/ or decrease your CPU load.
 +
 +__Solution 2:__
 +
 +Increase the time (default 10) before soft lockups are fired.
 +
 +<code bash >echo 20 > /proc/sys/kernel/watchdog_thresh</code> 
 +or
 +<code bash>
 +echo "kernel.watchdog_thresh=20" > /etc/sysctl.d/99-watchdog_thresh.conf
 +
 +sysctl -p  /etc/sysctl.d/99-watchdog_thresh.conf
 +</code>
 \\ \\
 \\ \\
  
linux/general/troubleshooting.txt · Last modified: 2020/12/03 15:12 by lunetikk