cancel
Showing results for 
Search instead for 
Did you mean: 

cpu idel is 0%

SOLVED
Go to solution
jona_1
Frequent Advisor

cpu idel is 0%

Hi,
In one of our server CPU idel is always showing 0%.Always.

RHEL 4 (Nahant update 6)
2.6.9-89.EL

I have checked & found 2/3 defunct process are there.Each of those are taking 5.5% of cpus.Does the defunct process taking the cpu?
Shall i go for reboot?how to find who is eating the cpu?

Regards,

10 REPLIES
Dennis Handly
Acclaimed Contributor

Re: CPU idle is 0%

>Does the defunct process taking the CPU? Shall I go for reboot?

No, zombies don't take up CPU time.
If you kill the zombie master, the zombies will be reaped.

>how to find who is eating the CPU?

Does the system seem busy?

jona_1
Frequent Advisor

Re: cpu idel is 0%

HI,
Thank you so much. you are the only person who reply..I am doing remote administration..
I think only one CPU is present in this system...I am sending you one attachment ... could you please look into this ....really appreciate your cooperation if you could suggest me what i should do now to reduce the cpu util....waiting for reply..

Regards,
Jona
Dennis Handly
Acclaimed Contributor

Re: CPU idle is 0%

>I am sending you one attachment ... Could you please look into this. If you could suggest me what I should do now to reduce the CPU util

I don't see much CPU usage, 20% including those bogus zombies.

Again, why do you think there is a problem?
Do you have a lot of I/O activity?

jona_1
Frequent Advisor

Re: cpu idel is 0%

Thank you.In top CPU idel is 0% sothat i am worried....every time it is 0%.idel is 0% that means 100% utilization...

Regards,
Jona
Dennis Handly
Acclaimed Contributor
Solution

Re: CPU idle is 0%

>In top CPU idle is 0%.

The top output you attached showed: 93.3% id

jona_1
Frequent Advisor

Re: cpu idel is 0%

Thank you Dennis , yes you are right cpu util is 93% idel now.. ...but another problem come with this server ..could u pls help me to understand this....we are receiving this msg like

"with description THRESHOLD (Total Free Memory (MB)): Total (42xx.xx > 98.0 ) [Running Command ux_)"

unable to understand the above msg:-

-sh-3.00$ free -tm
total used free shared buffers cached
Mem: 3885 3802 82 0 50 181
-/+ buffers/cache: 3570 315
Swap: 4251 64 4186
Total: 8136 3867 4269
-sh-3.00$
Free mem is 4269MB then what is the problem ..is it too low?

Regards,
Dennis Handly
Acclaimed Contributor

Re: CPU idle is 0%

>Free mem is 4269MB

That's 4.2 Gb for total swap. Free memory is just 82 Mb.

jona_1
Frequent Advisor

Re: cpu idel is 0%

Hi Dennis,
From this command i have checked that the Java process is using 15% of memory

-sh-3.00$ ps aux | awk '{print $4"\t"$11}' | sort | uniq -c | awk '{print $2" "$1" "$3}' | sort -nr
please find the attachment..now is there any parameter from which we can tune.. or how to increase the free memory ..
4 zombi process are there also ..
Regards,
jona
jona_1
Frequent Advisor

Re: cpu idel is 0%

just now came to know from some team that its a linux VM

Dennis Handly
Acclaimed Contributor

Re: CPU idle is 0%

>the Java process is using 15% of memory
>now is there any parameter from which we can tune or how to increase the free memory

Why do you think you need more free memory? Is the system slow? You want to run more apps?
If you have a lot in your buffers/cache, the kernel will reduce that when you need more memory.

>4 zombie process are there also

You need to determine which is more important, getting rid of the zombies or to keep the zombie master alive.