LAMP Server Tuning for a High Traffic server

In Progress

My server needs tuning.

Here is my server's configuration:

. Medium server in EC2 Amazon

. Mysql and Apache in the same server

. PHP with eaccelerator + memcached

. 5gb swap disk.

. Virtualmin running, hosting around 20 virtual server each one with it's wordpress install ( I plan to host more sites in the future)

. Each wordpress install has w3 total cache

Traffic:

I'm mostly hosting small websites. with around 2000 visitors a month each but I have my main site that has around 150,000 visitors each month. During the most part of the day I have 70-100 visitors connected at the time.

Problem:

My server constantly crashes. In the past I has 500 visitors at the same time looking at the same page (cached) and everything was normal. Lately I had a traffic spike of 150 visitors trying to reach a page (cached) and the whole site crashed.

I need:

To fine tune my current server. Stop the crashes. Optimize my server for high traffic (with multiple wp installs).

Requirements:

Keep down time at the minimim (I have my site and my customers sites up and running)

Detailed description of everything that was tweaked.

I want a support timeframe after the problems are resolved. (I want to make sure everything is working fine)

Any major change must be consulted with me before proceeding.

If you have any mores questions about the project. Let me know

Skills: Apache, MySQL, PHP, WordPress

See more: problems with wordpress websites, php tuning, wordpress server configuration, w3 total cache, virtual server, tuning, lamp server, install lamp, Apache Traffic Server, traffic problems, working part time amazon, tune optimize, amazon traffic, ec2 apache php mysql, optimize server traffic, wordpress medium, wordpress tuning mysql, apache configuration small server, server configuration problem, amazon host, amazon apache php, php virtual server, ec2 500, amazon cache, medium wordpress

Project ID: #4464780