Scenario: "watchdog: BUG: soft lockup - CPU" error from an Azure HDInsight cluster
This article describes troubleshooting steps and possible resolutions for issues when interacting with Azure HDInsight clusters.
The kernel syslogs contain the error message: watchdog: BUG: soft lockup - CPU
.
A bug in Linux Kernel is causing CPU soft lockups.
Apply kernel patch. The script below upgrades the linux kernel and reboots the machines at different times over 24 hours. Execute the script action in two batches. The first batch is on all nodes except head node. The second batch is on head node. Do not run on head node and other nodes at the same time.
Navigate to your HDInsight cluster from Azure portal.
Go to script actions.
Select Submit New and enter the input as follows
Property Value Script type -Custom Name Fix for kernel soft lock issue Bash script URI https://raw.githubusercontent.com/hdinsight/hdinsight.github.io/master/ClusterCRUD/KernelSoftLockFix/scripts/KernelSoftLockIssue_FixAndReboot.sh
Node type(s) Worker, Zookeeper Parameters N/A Select Persist this script action... if you want the execute the script when new nodes are added.
Select Create.
Wait for the execution to succeed.
Execute the script action on Head node by following the same steps as step 3, but this time with Node types: Head.
Wait for the execution to succeed.
If you didn't see your problem or are unable to solve your issue, visit one of the following channels for more support:
- If you need more help, you can submit a support request from the Azure portal. Select Support from the menu bar or open the Help + support hub.