apache httpd高cpu 100%on centos 6.8

时间:2017-06-17 04:29:08

标签: apache performance cpu-usage centos6 httpd.conf

我在centos 6.8上使用apache 2.2。有时某些httpd进程使用100%作为下图:

Top monitoring

我已经检查了所有网站的源代码,所有这些都没问题(没有循环,没有错误,......)。

和httpd.conf:

Timeout 30
KeepAlive Off
<IfModule worker.c>
StartServers       8
MaxClients        1000
MinSpareThreads    8
MaxSpareThreads    100
ThreadsPerChild     25
MaxRequestsPerChild  0
</IfModule>
RLimitCPU  60 80

但是我找不到任何关于这个问题的理由,请帮忙,非常感谢^^。

0 个答案:

没有答案