WN

WN (https://www.wn.se/forum/index.php)
-   Serversidans teknologier (https://www.wn.se/forum/forumdisplay.php?f=4)
-   -   Minnesanvändning apache (https://www.wn.se/forum/showthread.php?t=21248)

eliasson 2007-05-16 07:32

Citat:

Originally posted by kullervo@May 15 2007, 23:17
Det mesta minnet som top rapporterar för httpd-processerna är inte per process.

Ligger nått i det han säger -- det finns httpd benching, prova det.

jomper 2007-05-16 08:37

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)

Conth 2007-05-23 11:05

Vore intressant att höra hur det gick för er jomper...
Blev det bättre??

Spirre 2007-05-23 11:52

lighthttpd <3


Alla tider är GMT +2. Klockan är nu 03:45.

Programvara från: vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Svensk översättning av: Anders Pettersson