Forum archive
Has anyone else experienced "soft lockups" when running under Xen?
I deployed a Turnkey LAMP appliance to VPS.net's cloud (which uses Xen virtualisation). From time to time the server (which is fully up to date) experiences what is reported on the console as "soft lockups", like below. I find this baffling. VPS.net support say this is a kernel bug with Ubuntu 32bit. Is this correct? Is there anything I can do to solve the problem?
The machine becomes unresponsive and an endless stream of these messages are spewed on the console:
[52846.563059] BUG: soft lockup - CPU#0 stuck for 11s! [apache2:4744] [52873.811124] BUG: soft lockup - CPU#1 stuck for 11s! [kswapd0:106] [52858.304554] BUG: soft lockup - CPU#0 stuck for 11s! [apache2:4744] [52885.550344] BUG: soft lockup - CPU#1 stuck for 11s! [kswapd0:106]
Here is what VPS.net support said to me:
"This error seems to be from a buggy kernel version that you have. This is a 32 bit Ubuntu - Xen issue rather than a problem with vps.net itself, so you may try updating your kernel and check if it helps. Please let us know if we could be of any assistance."
We're aware of the problem and we're very frustrated about it. It's been reported before. Unfortunately, we haven't really managed to make progress with VPS.NET on this. It seems to be a bug that's triggered by an interaction between that version of the Ubuntu kernel and VPS.NET's Xen implementation. When Ubuntu 10.04 LTS comes out in a few months we'll release new versions for all our appliances which will include a new kernel and will hopefully solve this issue.
In the meantime other VPS provides such as GigaTux and GPLHost also support TurnKey, and none of their users have reported this issue so you may want to check them out...