Vi kompilerade om apache inatt så att vi kör med worker mpm istället för prefork mpm, skall och tycks vara väldigt mycket snålare med både minne och cpu. Ska bli intressant att se hur det fungerar under lite mer belastning under dagen. Kör senaste 2.2-apache.
Citat:
prefork [default MPM for Apache 2.0 and 1.3]:
* Apache 1.3-based.
* Multiple processes, 1 thread per process, processes handle requests.
* Used for security and stability.
* Has higher memory consumption and lower performance over the newer Apache 2.0-based threaded MPMs.
worker:
* Apache 2.0-based.
* Multiple processes, many threads per process, threads handle requests.
* Used for lower memory consumption and higher performance.
* Does not provide the same level of isolation request-to-request, as a process-based MPM does.
|
(
http://www.devside.net/articles/apac...ormance-tuning)