perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Drew Taylor" <taylor.andre...@gmail.com>
Subject High CPU load on apache parent process
Date Wed, 05 Apr 2006 21:29:47 GMT
I've got an RT installation (RT 3.2.1 Apache/1.3.29 (Unix)
mod_perl/1.27 mod_ssl/2.8.16 OpenSSL/0.9.7c running on Linux version
2.4.24-ow1 w/ 4x Xeon 3GHz & 2GB RAM) which is exhibiting very high
(99%) CPU load on the parent process. This behavior is intermittent,
I'd say the parent process spends 80% of it's time at 99%.

top:
PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME CPU COMMAND
22875 root       8   0 31192  30M 17420 S    76.2  1.5  14:22   0 httpd

dtaylor@rt:~/awstats$ ps -efl | grep httpd
5 S root     22875     1  0  68   0    -  8562 do_sel 21:09 ?       
00:00:00 /usr/local/httpd/bin/httpd
5 S rt       22876 22875  9  75   0    - 12369 semtim 21:09 ?       
00:01:32 /usr/local/httpd/bin/httpd
5 S rt       22877 22875  7  72   0    - 11433 semtim 21:09 ?       
00:01:11 /usr/local/httpd/bin/httpd
5 S rt       22878 22875  7  69   0    - 13815 wait4  21:09 ?       
00:01:16 /usr/local/httpd/bin/httpd
5 S rt       22879 22875  3  74   0    - 11225 semtim 21:09 ?       
00:00:35 /usr/local/httpd/bin/httpd
5 S rt       22880 22875 10  69   0    - 13268 do_sel 21:09 ?       
00:01:46 /usr/local/httpd/bin/httpd
5 S rt       22881 22875  8  69   0    - 12945 semtim 21:09 ?       
00:01:29 /usr/local/httpd/bin/httpd
5 S rt       22883 22875  5  69   0    - 12503 semtim 21:09 ?       
00:00:51 /usr/local/httpd/bin/httpd
5 S rt       22885 22875  6  70   0    - 11472 semtim 21:09 ?       
00:01:06 /usr/local/httpd/bin/httpd
5 S rt       22886 22875  8  75   0    - 11501 semtim 21:09 ?       
00:01:27 /usr/local/httpd/bin/httpd
5 S rt       22888 22875  8  69   0    - 13357 semtim 21:09 ?       
00:01:26 /usr/local/httpd/bin/httpd
5 S rt       23083 22875  7  69   0    - 11036 tcp_da 21:20 ?       
00:00:24 /usr/local/httpd/bin/httpd
5 S rt       23121 22875 12  70   0    - 10573 do_sel 21:25 ?       
00:00:09 /usr/local/httpd/bin/httpd
5 S rt       23129 22875  0  71   0    -  8961 semtim 21:25 ?       
00:00:00 /usr/local/httpd/bin/httpd

How do I go about finding what is wrong with this process? I'm not a
newbie, but have never personally seen this behavior before. Googling
for "apache parent process high cpu" hasn't turned up much.

Thanks,
Drew
--
----------------------------------------------------------------
 Drew Taylor                 *  Web development & consulting
 Email: drew@drewtaylor.com  *  Site implementation & hosting
 Web  : www.drewtaylor.com   *  perl/mod_perl/DBI/mysql/postgres
 ----------------------------------------------------------------

Mime
View raw message