[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

apache uses 100 % cpu



Hi list,

today I noticed that 2 apache procs are using all cpu. ps shows them like 
this:

www-data 24290 97.4  0.3 142832 7420 ?       R    Feb27 
1651:39 /usr/sbin/apache
www-data 24916 97.8  0.2 141408 5700 ?       R    Feb27 
1651:11 /usr/sbin/apache

I could just restart apache or kill those procs, but I'd rather would like 
to know why this happened. So I used strace to see what they are doing. I 
am not familiar with interpreting the output of strace, so I can only 
asume that those two apache procs hang.

This is the output of strace:
....
read(8, "", 4096)                       = 0
read(8, "", 4096)                       = 0
read(8, "", 4096)                       = 0
read(8, "", 4096)                       = 0
....  looping forever as it seems.

Maybe some knows what this means and how else I can find out why these 
apache procs use all cpu ?

(You can just reply to the list, I am subscribed with another email 
address)

-- 

TIA and kind regards

     Timo



Reply to: