Soft lockup and asterisk hangs


#1

Hi team,

I saw this message

kernel:NMI watchdog: BUG: soft lockup - CPU#5 stuck for 23s! [asterisk:9538]

I could not reproduce this so do not know why this happened. Anyone have clue about it ? I am running Asterisk 14.7.7 on CentOS Linux release 7.5.1804

Thank you


#2

There is no team! This is a peer support forum.

This appears to be a Linux kernel or hardware problem.


#3

Looking at https://www.centos.org/forums/viewtopic.php?t=60087 a typical reason might be trying to run Asterisk on a VM not configured for running real time code. I guess it is a virtual hardware fault!

I’d personally never advise running Asterisk on a VM, but many people do. If you are going to run, it on a VM, you need to configure the system specifically for it. Amongst other things, it probably means it must not share with any ohter heavy using applications.