Nginx reverse proxy apache2 High CPU load

Posted by chillah on Server Fault See other posts from Server Fault or by chillah
Published on 2012-12-16T12:29:19Z Indexed on 2012/12/16 17:06 UTC
Read the original article Hit count: 415

Filed under:
|
|
|

my server: 2x Intel Xeon 5506 2.13GHz 24 GB DDR3 RAM Debian 5.0.8 64-bit

My server CPU is aroung 90% at 600 users and around 6 page views per second.

There are 2 Sites on the server. One Forum with low visitors and a Wordpress page.

http://www.abload.de/img/unbenanntvbym5.png

My Apache configurations:

MaxKeepAliveRequests 100

KeepAliveTimeout 15

ServerLimit 500
<IfModule mpm_prefork_module>
StartServers          5
MinSpareServers       5
MaxSpareServers      10
MaxClients          250
MaxRequestsPerChild 1000
</IfModule>

<IfModule mpm_worker_module>
StartServers          2
MaxClients          250
MinSpareThreads      25
MaxSpareThreads     150
ThreadsPerChild      25
MaxRequestsPerChild   0
</IfModule>

<IfModule mpm_worker_module>
StartServers          2
MaxClients          250
MinSpareThreads      25
MaxSpareThreads     150
ThreadsPerChild      25
MaxRequestsPerChild   0
</IfModule>

<IfModule mpm_event_module>
StartServers          2
MaxClients          150
MinSpareThreads      25
MaxSpareThreads      75 
ThreadLimit          64
ThreadsPerChild      25
MaxRequestsPerChild   0
</IfModule>

© Server Fault or respective owner

Related posts about apache2

Related posts about nginx