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

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...