Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

My server Load jump high up top 22, CPU just 50%, RAM 1858/5120. How to know what process couse so high load average. Linux Debian

share|improve this question
    
Can you update your question with what diagnostics you've already done? ps output? iostat output? actual top output? –  polynomial Oct 11 '11 at 2:05

3 Answers 3

$ grep processor /proc/cpuinfo |wc -l
4

That gives you the number of CPUs on your system. If the load average is higher than this number, but CPU is just 50%, there are good chances that you system is performing a lot of IOs. In which case:

aptitude install iotop

iotop will give you a list of processes consuming disk IOs.

share|improve this answer
    
I have cloud server CPU are 4 nad 50%, after I order 8 CPU use 8 % load average down in 1.5, but if order 7 CPU load average jump to 22 again... when I install iotop gives me error:File "/usr/bin/iotop", line 16, in <module>.... –  numb Oct 10 '11 at 16:28

How to know what process couse so high load average.

You can use top, press O (o in uppercase), follow by l (CPU Time), and Enter.

share|improve this answer

zombie process can influence load average too, May I suggest :

mike@mike-:~$ ps -eo state |uniq -c
    171 S
      1 R
      1 D
      2 S

--> here you can count the number of process for each state

D (process blocked waiting for a resource)

Z Zombie

--> typical issue for the D status a process using a file on a NFS share who doesnt answer anymore... Hope it helps

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.