Posts

Showing posts from February, 2017

Prefork Multi Processing Module for Apache

MPM stands for Multi Processing Module and this module implements a non-threaded pre-forking web server. MPM isolate each request , so single request wont effect any other request. MaxRequestWorkers is proportional to Physical RAM. More value more requests so make sure we got more RAM available for that server. =====How it Works There is a process named as "Control Process" and it is responsible for launching child process and these child processes will listen for requests and serve them once they arrive. And Apache by default will maintain serveral spare child process so that client request doesn't have to wait until new child process created. And following parameters are responsible for regulating these child process. 1. StartServers 2.MinSpareServers 3.MaxSpareServers 4.MaxRequestWorkers The default value for MaxRequestWorkers is 256 , so a server with untouched MaxRequestWorkers parameter can handle 256 requests at a time and you can define your cust