You are not logged in.

#1 2009-08-22 03:02:08

mrpringle
Member
Registered: 2009-07-11
Posts: 74

rpcbind high CPU utilisation

Hi,

The issue is my CPU utilisation is unusually high. I've got a dual core laptop and one core is at 100% all of the time.  When I run top I can see that rpcbind is responsible for the high CPU usage. If I reboot the problem starts immediately.
I've only noticed this problem quite recently, but can't think of anything I've done that may have caused it.

This problem is really quite urgent because if I can't get it solved I will have to spend days installing another OS because at the moment my laptop battery is draining really fast.

Does anyone know what may be causing the problem, or how I can troubleshoot it?

Thanks in advance.

Offline

#2 2009-08-22 03:34:10

drtoki
Member
From: {x ∈ A | p(x) = 1}
Registered: 2009-07-22
Posts: 95

Re: rpcbind high CPU utilisation

Probably due to a null route.
If you don't need NFS you could just disable the rpc.mount.

Offline

#3 2009-08-22 04:03:38

mrpringle
Member
Registered: 2009-07-11
Posts: 74

Re: rpcbind high CPU utilisation

drtoki wrote:

Probably due to a null route.
If you don't need NFS you could just disable the rpc.mount.

Thanks for the reply.
How can I disable the rpc.mount?

Offline

#4 2009-08-22 04:49:13

drtoki
Member
From: {x ∈ A | p(x) = 1}
Registered: 2009-07-22
Posts: 95

Re: rpcbind high CPU utilisation

Try a /etc/rc.d/portmap stop to shut it down at anytime. To disable it on boot, look for the portmap or nfsd or rpcd daemon in rc.conf and remove it. I don't quite remember what it's listed as, but it should be clear when you look at it.

Last edited by drtoki (2009-08-22 04:55:25)

Offline

#5 2009-08-22 06:48:02

mrpringle
Member
Registered: 2009-07-11
Posts: 74

Re: rpcbind high CPU utilisation

I don't have any of those listed in rc.conf, but rpcbind is started by fam and fam is in my rc.conf file.

It seems that removing fam from my rc.conf fixes the problem, but I think I need fam.

Any suggestions?

Offline

#6 2009-08-22 10:03:47

mrpringle
Member
Registered: 2009-07-11
Posts: 74

Re: rpcbind high CPU utilisation

I figured out the problem. When I upgraded my kernel the other day it turns out that the kernel was installed on my root partition instead of on my boot partition because /boot was not mounted at the time. As a result my old kernel was still being booted, but parts of the system were affected by the new kernel supposedly being installed. So what I did was mount the /boot partition, reinstall the latest kernel and reboot the system - problem solved - no rpcbind taking up 100% of the CPU now.

In the end I decided to scrap fam and use gamin anyway, based on the wiki recommendation.

Offline

Board footer

Powered by FluxBB