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.
Issue
The kernel syslogs contain the error message: watchdog: BUG: soft lockup - CPU
.
Cause
A bug in Linux Kernel is causing CPU soft lockups.
Resolution
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.
Next steps
If you didn't see your problem or are unable to solve your issue, visit one of the following channels for more support:
Get answers from Azure experts through Azure Community Support.
Connect with @AzureSupport - the official Microsoft Azure account for improving customer experience. Connecting the Azure community to the right resources: answers, support, and experts.
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. For more detailed information, review How to create an Azure support request. Access to Subscription Management and billing support is included with your Microsoft Azure subscription, and Technical Support is provided through one of the Azure Support Plans.
Feedback
Submit and view feedback for