httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Csepregi Zoltán <vip...@webgalaxy.hu>
Subject [users@httpd] Apache high load problem
Date Tue, 08 Sep 2009 22:25:46 GMT
Hi all,

We have an Apache2 on our server, and we're getting very confused.
Sometimes, but no periodically, the system load runs up very high, and we think it caused
by apache. If I restart apache this time, the load falls back to a normal level.
We've tried to watch and monitor a lot of things, but we couldn't find out the exact thing
that causes that effect.

Some details about the server:
Core2Quad Q6600 processor (2.4GHz)
4GB DDR3 RAM
software raid5 with 4 disks
Gentoo Linux
There's 113 vhosts in the apache, and ITK mpm is used, different uid for each vhost.
We're watching server-status for a while, but it didn't provide useable info. We tried to
increase the log level to debug, but still nothing useable.

- some parts from the error_log (grep debug..):
[Tue Sep 08 15:47:03 2009] [debug] mpm_common.c(694): (70007)The timeout specified has expired:
connect to listener on [::]:80 (_main_)
[Tue Sep 08 15:47:17 2009] [debug] mpm_common.c(694): (70007)The timeout specified has expired:
connect to listener on [::]:80 (_main_)
[Tue Sep 08 15:48:22 2009] [debug] mpm_common.c(694): (70007)The timeout specified has expired:
connect to listener on [::]:80 (_main_)
[Tue Sep 08 19:50:21 2009] [debug] itk.c(1088): AcceptMutex: sysvsem (default: sysvsem) (_main_)
[Tue Sep 08 21:03:47 2009] [debug] itk.c(1088): AcceptMutex: sysvsem (default: sysvsem) (_main_)
[Tue Sep 08 22:31:19 2009] [debug] mpm_common.c(694): (70007)The timeout specified has expired:
connect to listener on [::]:80 (_main_)

- and writes this in all minutes:
[Wed Sep 09 00:18:50 2009] [info] [client 81.135.24.xxx] (32)Broken pipe: core_output_filter:
writing data to the network
[Wed Sep 09 00:18:50 2009] [info] [client 81.135.24.xxx] (32)Broken pipe: core_output_filter:
writing data to the network
[Wed Sep 09 00:19:10 2009] [info] [client 87.194.78.xxx] (32)Broken pipe: core_output_filter:
writing data to the network
[Wed Sep 09 00:19:14 2009] [info] [client 81.135.24.xx] (104)Connection reset by peer: core_output_filter:
writing data to the network
[Wed Sep 09 00:19:17 2009] [info] [client 200.3.220.xxx] (104)Connection reset by peer: core_output_filter:
writing data to the network

- this is the current ITK configuration:
<IfModule mpm_itk_module>
        StartServers            25
        MinSpareServers         30
        MaxSpareServers         75
        MaxClients              150
        MaxRequestsPerChild     10000
</IfModule>

So the question is how to figure out what is the reason of the suddenly increasing load? How
to "look inside" apache when the high load appears,to find out
which user causes it? What should we look for in other logs to find something?

Thanks in advance.
vipi


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message