Linux – soft lockup – CPU#0 stuck for 11s! error with Xen virtual machines

linuxUbuntuxenxenserver

Getting a kernel panic with this error on my XEN VPS's. (all on 8.04 LTS)

The kernel version on my Dom-0 is 2.6.24-25-xen and the kernel version on the Xen VPS is also 2.6.24-25-xen.

I read something about disabling APIC from here http://muffinresearch.co.uk/archives/2008/08/20/ubuntu-bug-soft-lockup-cpu0-stuck-for-11s/

but that doesn't seem to help as well.

Anyone experienced this and are there any workarounds?

Thanks in advance!

Best Answer

this can happen because of two things:
1. Overcommitted CPUs or RAM
2. Time drifts

You should make sure you are not overloading the host, not assigning more CPU cores or RAM tha n the host can provide, and also set up ntp, and possibly implement some kernel boot options specific to your virtualization platform