Setting apache's maxclients higher than 256 in CentOS
On 13/07/10 13:14, robert mena wrote:
> I could not find any reference if the version of apache compiled for centos
> 5.x has support for more than 256 clients in apache's maxclients.
I think 256 is the _default_ not the maximum.
>From the Apache httpd 2.2 docs
For non-threaded servers (i.e., prefork), MaxClients translates into the
maximum number of child processes that will be launched to serve
requests. The default value is 256; to increase it, you must also raise
The Centos httpd does not seem to be compiled with anything that would
restrict that. Others may know better ....
[root@test ~]# cat /etc/redhat-release
CentOS release 5.5 (Final)
[root@test ~]# httpd -V
Server version: Apache/2.2.3
Server built: Apr 4 2010 17:18:37
Server's Module Magic Number: 20051115:3
Server loaded: APR 1.2.7, APR-Util 1.2.7
Compiled using: APR 1.2.7, APR-Util 1.2.7
Server MPM: Prefork
forked: yes (variable process count)
Server compiled with....
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
CentOS mailing list