LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-29-2008, 04:10 PM   #1
darkside720
LQ Newbie
 
Registered: Feb 2008
Posts: 11

Rep: Reputation: 0
Post High machine load when idle


Hi,

I have two Linux WS4 machines on Dell PE1950 that seems to be the load average is 3.00 and the number of jobs in the "D" state is 3. When I run ps aux | grep " D", I get the following output:

root 3693 0.0 0.0 3788 608 ? D 2007 0:14 df -h
root 27617 0.0 0.0 3788 612 ? D 2007 0:00 df -h
root 28433 0.0 0.0 3780 608 ? D 2007 0:00 df -h
root 23192 0.0 0.0 3796 608 ? D 2007 0:00 df -h
root 32255 0.0 0.0 3792 608 ? D Jan19 0:00 df -h
root 25120 0.0 0.0 3800 608 ? D Jan25 0:00 df -h
root 6591 0.0 0.0 1540 544 ? D Feb15 0:00 df -k
root 6980 0.0 0.0 3780 608 ? D Feb16 0:00 df -h
root 30379 0.0 0.0 1544 544 ? D Feb19 0:00 df -k
root 30390 0.0 0.0 1536 544 ? D Feb19 0:00 df -k
root 30793 0.0 0.0 3788 608 ? D Feb20 0:00 df -h

If I try to kill the process with kill -9 nothing, even kill -11 doesn't even work. Any clue as to what might be causing this as it seems that the only thing that I can do is reboot the machine. This is unexpected. High load average is due to either a task chewing a lot of CPU time or a task stuck in uninterruptible sleep.

Any help would be greatly appreciated.
 
Old 02-29-2008, 04:33 PM   #2
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
Why do you have so many 'df' processes running? Are you calling these?

What does 'top' have to say about them?
 
Old 02-29-2008, 04:49 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,629

Rep: Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088
What is your iowait percentage ???.
Looks like a looping script - check cron.
 
Old 02-29-2008, 06:32 PM   #4
x_terminat_or_3
Member
 
Registered: Mar 2007
Location: Plymouth, UK
Distribution: Fedora Core, RHEL, Arch
Posts: 342

Rep: Reputation: 38
One way I have found to deal with runaway processes that cannot seem to be killed in an ordinary fashion, is doing a
Code:
gdb pid
(replace pid with the process id of the program), and then inside gdb giving the command
Code:
kill
 
Old 03-03-2008, 07:49 AM   #5
darkside720
LQ Newbie
 
Registered: Feb 2008
Posts: 11

Original Poster
Rep: Reputation: 0
Well, when I do top, I get the following;

16:01:17 up 187 days, 3:30, 1 user, load average: 3.00, 3.00, 3.00
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
adams pts/0 nyusge03 3:54pm 0.00s 0.06s 0.01s w


But then after running
ps -aux | grep D
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 2321 0.0 0.0 11636 3396 ? D 2007 1:32 /usr/sbin/snmpd -s -l /dev/null -P /var/run/snmpd -C -c /etc/snmp/snmpd.conf
root 27823 0.0 0.0 3788 612 ? D 2007 0:14 df -h
root 11305 0.0 0.0 3784 612 ? D 2007 0:00 df -h

It seems to me that snmpd is doing a call out, but is not able to start. When trying to stop snmpd, it fails. Not sure why it would show so many df processes running and there is no script running in the crontab...What I had to do was reboot the machine in order to get the machine back to normal... We use a monitoring service called watch tower that uses snmpd walk to communicate with the machine... not sure if this may be a factor in this issue.
 
Old 03-05-2008, 12:02 PM   #6
steinz
Member
 
Registered: Mar 2006
Posts: 58

Rep: Reputation: 16
I am having a similar issue, caused by an nfs mount that broke.
I can umount, but still have the high cpu load
 
Old 03-06-2008, 08:29 AM   #7
darkside720
LQ Newbie
 
Registered: Feb 2008
Posts: 11

Original Poster
Rep: Reputation: 0
high CPU load

Well, its seems that if I do a kill RPCIOD, this seems to resolve the high CPU load without having to reboot the machine. Still trying to figure out why this would hapeen though.
 
Old 03-07-2008, 07:02 AM   #8
steinz
Member
 
Registered: Mar 2006
Posts: 58

Rep: Reputation: 16
thanks, I think "kill RPCIOD" will help me.
It seems this was caused because we mounted the nfs without "intr" or "soft" option. I am getting that from:
http://www.redhat.com/magazine/005ma...s/tips_tricks/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Processor load high when laptop is idle for hours replica9000 Linux - Laptop and Netbook 17 11-09-2007 12:33 PM
Load Avg High/Phys Mem High teamh Debian 2 12-26-2006 05:03 PM
Why is my load average so high when comp. is idle? BrianK Linux - General 1 11-18-2005 12:25 AM
High load - but CPU 99% idle? Boss Hoss Linux - Hardware 6 05-24-2004 04:39 AM
High idle cpu load in 2.6.4? geekzen Linux - General 4 04-10-2004 11:54 AM


All times are GMT -5. The time now is 09:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration