Wednesday, April 15, 2015

apache 2.2 - Is there a difference between MaxClient value for mpm prefork and worker?




I would like to know if there is a difference between MaxClient value for mpm prefork and worker.



I'm actualy capable of calculating this value for mpm_prefork (${ALLOWEDMEM} / ${AVGMEMAPACHEUSED} )but can the same value be set for worker/event mpm without any problems , or does it have to be adjusted for each mpm ?



Thanks for reading


Answer



MaxClients has the same functionality for both mpm.



The difference lies in the mpm itself, as MaxClients is counted in threads with worker, and with processes (child processes) in prefork since it is not multithreaded.



No comments:

Post a Comment