apache performance improvements and maxclients

Posted by updog on Server Fault See other posts from Server Fault or by updog
Published on 2013-10-31T23:47:02Z Indexed on 2013/11/01 3:57 UTC
Read the original article Hit count: 586

Filed under:
|
|

I know this has been asked a few (thousand) times around the internet but I was hoping someone whose in the know might be able to comment on my particular setup.

I have a web server hosting one site (php/codeigniter) with a wordpress blog in a sub directory. The server has 2GB RAM, 3GHz CPU and I have offloaded the static assets to CloudFlare which is has reduced bandwidth for the actual server by almost 75%.

The problem I have is when an email campaign is sent out that links to the site or blog, it slows down. Below is my settings in apache2.conf. Average apache process size is 80M and there is 1.5GB available for apache.

<IfModule mpm_prefork_module>
    StartServers          8
    MinSpareServers       5
    MaxSpareServers       20
    MaxClients            20
    MaxRequestsPerChild   2000
</IfModule>

I have already setup and installed apc and built some caching into the site and used w3totalcache on the blog.

The number of concurrent users is around 2-300 when there is a campaign, are there any further optimisations before

© Server Fault or respective owner

Related posts about apache2

Related posts about php