Probably need a bigger VPS.If you stick with 512M, you'll need to tune Apache, MySQL, and PHP very (VERY) tightly so that it uses a minimum of resources, or you'll OOM at the ... [by vonskippy]
on 04/10/2013 – Made popular on 04/10/2013
I have a dedicated server with 1GB of memory serving some wordpress sites, but happens when performing tests (ab: apache benmark, with -n 100 -c 10) to some of this wordpress, the server start to swap and then it's like dying...
So, my question is, how to tune apache and mysql for this purpose? I'm using mpm_worker in apache for php5
Any advice on tuning apache.conf and my.cnf files?
I am installing MySQL, Apache, and PHP on a new Centos 6.4 server.
For MySQL, you have three choices. Using "yum install mysql" along with Centos's repository is the simplest, but installs a very old version. Or you can go with "official" documentation at MySQL.com, but it has a few gotchas.