Xen Debian VPS Problem With nash-hotplug Using 100% CPU Resource

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:

Shell

1

nano/etc/init.d/local

Add these on that file, then save it:

Shell

1

2

3

#!/bin/bash

pkill-9nash

Then run these commands:

Shell

1

2

3

4

5

6

7

chmod755/etc/init.d/local

update-rc.dlocal start982345.

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.