Apache2 gettimeofday() keeps CPU at 100%

Posted by pincoded on Server Fault See other posts from Server Fault or by pincoded
Published on 2010-09-23T09:33:08Z Indexed on 2011/01/17 18:55 UTC
Read the original article Hit count: 363

Filed under:
|

I use Ubuntu 6.06.2 LTS with Server version: Apache/2.0.55; built:Aug 16 2010 18:25:39 and PHP 5.1.2 (cli) (built: Sep 16 2010 20:32:18). All my 4 Cores are constantly at 100% and the system begins to accumulate load. A restart for apache fixes the problem temporarily. I made a strace to the pid of the apache processes that keep the CPU busy. I get the following message continuously:

gettimeofday({1285234145, 989639}, NULL) = 0

Do you have any ideas where this problem comes from?

Thank you.

UPDATE: The problem came from an application error that generated an infinite loop. Thank you all for your great help.

© Server Fault or respective owner

Related posts about ubuntu

Related posts about apache2