| Subcribe via RSS

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.

Tags: , ,

One Response to “Xen Debian VPS Problem With nash-hotplug Using 100% CPU Resource”

  1. Tajid Says:

    Thx for the info, really useful.


Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word