-->

DEVOPSZONES

  • Recent blogs

    kernel_BUG_soft lockup - CPUstuck

    kernel_BUG_soft lockup - CPUstuck


    Error:

    [root@example ~]#
    Message from syslogd@example at May 25 05:12:16 ...
     kernel:BUG: soft lockup - CPU#1 stuck for 22s! [swapper/1:0]

    Message from syslogd@example at May 25 05:17:32 ...
     kernel:BUG: soft lockup - CPU#0 stuck for 22s! [watchdog/0:14]

    Message from syslogd@example at May 25 05:17:43 ...
     kernel:BUG: soft lockup - CPU#1 stuck for 23s! [swapper/1:0]

    Message from syslogd@example at May 25 05:17:43 ...
     kernel:BUG: soft lockup - CPU#0 stuck for 24s! [watchdog/0:14]

     Reason:

     Many Linux kernels have a soft lockup watchdog thread, and report soft lockup messages if that watchdog thread does not get scheduled for more than 10 seconds. 
     On a physical host, a soft lockup message generally indicates a kernel bug or hardware bug. When running in a virtual machine,  this might instead indicate high levels of over-commitment (especially memory over-commitment) or other virtualization overheads. 

     Solution & Troubleshooting :

     Tried following things.
     1. Updated the Kernel to 3.10.0-327.18.2.el7.x86_64.
     yum update
     2. Increase the VM resources.
     3. installed open-vm-tools.
     yum install open-vm-tools

     4. But nothing worked. Finally i've find out that there are reservations set a resource pool.
     5. So , In my case it is VM ballooning for Memory over-commit. On My ESX server Pool Reservation is low. I've Increased it. That has solved the issue.

    No comments