On VM at the terminal or in the /var/log/message
file, the following message appears:
kernel: BUG: soft lockup - CPU#Y stuck for Xs!
where Y is one of the CPU cores and X is an amount of time.
Virtual Machines
Possible causes but not limited to the following include:
A soft lockup occurs when a virtual machine's vCPU is unable to run a new task for more than 20 seconds.
Soft lockups can cause VMs to become unresponsive for short periods of time and trigger application timeouts or failover. VMs that are experiencing a soft lockup might also have unusually high or unusually low CPU utilization, depending on the exact cause of the soft lockup.
Possible solutions include the following:
/proc/sys/kernel/softlockup_thresh
.echo new_timeout_value > /proc/sys/kernel/softlockup_thresh
Alternative approaches to managing soft lockups: