A revised opinion on apache2-mpm-prefork and apache2-mpm-worker, and php5 and php5-cgi on Debian, regarding performance
It’s now over a year since I wrote about “Exchanging apache2-mpm-prefork for apache2-mpm-worker, and using php5-cgi on Debian to improve performance“. Since then I have re-evaluated my opinion about running apache2-mpm-worker and php5-cgi on a low memory machine, specifically a virtual machine running under Xen, running Debian.
Exchanging apache2-mpm-prefork for apache2-mpm-worker, and using php5-cgi on Debian to improve performance
Running a webserver on a Xen guest with a limited amount of memory, and serve dynamic content, makes one wanting to optimize it, or switch to another webserver, like lighttpd. I was close to doing that, but I like my current apache setup, so I tried something else instead, which seems to have worked nicely…