Monday 18 June 2012

Apache Maximum number of conncetions processed simultaneously

Apache directive MaxClients is responsible to handle maximum number of connections processed simultaneously. When any new connection is created over than MaxClients limit it will be on queued upto the number based on ListenBacklog directive. After completion of any child process new process will be served from queue.

In the case of non-threaded server (e.g. prefork), MaxClients will translate into the maximum number of child processes that will be launched to serve requests. Default value is 256 we can increase it after raising ServerLimit.

But in the case of threaded and hybrid servers (like beos or worker) MaxClients restricts the total number of threads available to serve clients. Default value for beos is 50.

No comments:

Post a Comment