I'm in the process of setting up a server with 4GB RAM and 2 CPUs. The stack will be CentOS + NGINX + MySQL + PHP (with APC) and spawn-fcgi. It will be used to serve 10 Wordpress blogs, 3 of which receive about 20,000 hits per day. Each Wordpress instance is equipped with the W3 TotalCache.
I have a few variables to play with:
- NGINX (How many worker_processes, worker_connections, etc)
- PHP (What parameters in php.ini should I change? What about apc?)
- Spawn-fcgi (Right now I have 6 php-cgi spawned. How many of them should I have?)
I realize it's hard to tell without testing, but if you could please provide me with some ballpark numbers, that would be helpful too.