Solved

Linux on VM errors: BUG: soft lockup cpu#[y] stuck for [x]s!

Posted on 2016-07-20
10
64 Views
Last Modified: 2016-09-05
I have a Linux machine that is giving a lot of "BUG: soft lockup cpu#[y] stuck for [x]s!" errors.
It is Oracle Linux 7.1 Running on vSphere 5.5.

Here is an example output:

helpme1.png
0
Comment
Question by:so_cal
  • 4
  • 2
  • 2
  • +1
10 Comments
 
LVL 118

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 125 total points (awarded by participants)
ID: 41722053
This could be a resource issue, linked to your other question, you have posted, and is to be expected.

You can read the VMware KB here

Soft lockup messages from Linux kernel running in an SMP-enabled virtual machine (1009996)
0
 

Author Comment

by:so_cal
ID: 41723382
Okay. This is actually a different Virtual Machine than the the one I posted on the other thread. Although it resides on the same vSphere umbrella.
0
 

Author Comment

by:so_cal
ID: 41728081
So even though this is a different VM (on the same host machine),  it's still to be expected?
0
 
LVL 21

Assisted Solution

by:Mazdajai
Mazdajai earned 125 total points (awarded by participants)
ID: 41738341
Is this a new installation? Did you make any changes since it happen? What troubleshoot steps you have done?

Try update to Oracle Linux 7.2.
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:so_cal
ID: 41740962
No, it is not a new installation. I did not make any changes. I haven't done any troubleshooting steps.

I will not be able to update to Oracle 7.2 as this is a production system.
0
 

Author Comment

by:so_cal
ID: 41744572
I'm seeing more similar errors:

More errors
0
 
LVL 21

Expert Comment

by:Mazdajai
ID: 41748171
I haven't done any troubleshooting steps.

Because you have not provide any detail information or any troubleshooting you have done, it is very difficult to tell.

This soft lock up message is common to be seen in vm if large resources is being committed or it can be a hardware or kernel bug. Recommended steps:

1) Update to the latest kernel.
2) Migrate the vm to ANOTHER host and obverse if this happen on heavy load.
3) Migrate a different vm to THIS host and obverse if this happen on another vm.
1
 
LVL 61

Accepted Solution

by:
gheist earned 250 total points (awarded by participants)
ID: 41748337
Reduce number of virtual CPUs to be less or equal to physical cores in the host machine.
Make sure you turn (v)NUMA off for that virtual machine with oracle products.
Do not overcommit host memory or vm memory (kswapd in one screenshot tells guest runs out of memory)
Use virtual hardware v9 or better (it is mentioned in vmware compatibikity lists), older versions have timing issues with very fresh Linux kernels.

At least provide following information:
If you run UEK or basic kernel.
Build number of ESXi
Hardware configuration (snip of place where CPU type is next to RAM size)
VM configuration (1st screen of 'edit config' should suffice)
Sure dont post hostnames and IPs.
1
 
LVL 61

Expert Comment

by:gheist
ID: 41784428
Some feedback is nice, but having none lets split between typists.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

It Is not possible to enable LLDP in vSwitch(at least is not supported by VMware), so in this article we will enable this, and also go trough how to enabled CDP and how to get this information in vSwitches and also in vDS.
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now