Posted by jcisio on April 14, 2010 at 4:48pm
Hello,
I use Apache with MPM prefork (and mod_fcgid + suphp). As a result of high load, I've just installed nginx for static file server and reverse proxy to Apache (I have only 1 IP and want to use port 80). The result is interesting so I want to share here. Note: I made a couple of MySQL optimizations at the same time, so the observation might not 100% due to the web server change.
- Load is very low and stable, and it's because of low iowait. But I don't know who causes it, and I don't think it's only MySQL.
- Memory usage keeps unchanged. It's strange. Apache is perfork and nginx is threaded, but not too much change.
- Number of active connections jumps. The result of reverse proxy? It's high, but harmless up til now.