HyperVM/Xen nash-hotplug using 100% of resources (Debian)

Some of the default HyperVM templates have an issue with nash-hotplug taking a large amount of resources (usually 99%). If you are having this issue, a quick an easy way to fix this is add the following to /etc/rc.local on the guest VDS:

pkill -9 nash

This is a temporary fix, until a more permanent one is provided by Lxlabs/HyperVM. This problem is supposedly already fixed in CentOS 4, however seems to still appear in Debian 3. For debian, do the following:

Open up /etc/init.d/local and add:

#!/bin/bash
pkill -9 nash

Then run the following:

chmod 755 /etc/init.d/local
update-rc.d local start 98 2 3 4 5 .
mkdir /etc/rc.d/
ln -s /etc/init.d/local /etc/rc.d/rc.local

Refer Url : http://www.crucialp.com/blog/2008/03/06/hypervmxen-nash-hotplug-using-10...