Recommended setup for apache/mysql

view story

http://serverfault.com – 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? (HowTos)