Xen Debian VPS Problem With nash-hotplug Using 100% CPU Resource
June 3rd, 2008 Posted in System Administration
Recently I setup a Debian 4.0 VPS using xen image from jailtime.org, once the VM running I noticed that the load goes 1.0 all the time which make the VM very slow. From top command you’ll see the nash-hotplug process is the cause.
First you can kill it by execute the ‘kill -9 <process id>’ command (without the quotes), where <process id> is the process id of nash-hotplug. Then to automate killing the nash process every time you reboot the VPS run these commands:
nano /etc/init.d/local
Add these on that file, then save it:
#!/bin/bash pkill -9 nash
Then run these commands:
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
Notice that there is a ‘.’ (dot) on ‘update-rc.d local start 98 2 3 4 5 .’ command, it’s not a typo! But part of the command.
June 19th, 2008 at 1:48 am
Thx for the info, really useful.