Re: Setting apache's maxclients higher than 256 in CentOS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

<snip>
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
ServerLimit.
</snip>

The Centos httpd does not seem to be compiled with anything that would
restrict that.  Others may know better ....

<snip>
[root@test ~]# cat /etc/redhat-release
CentOS release 5.5 (Final)
[root@test ~]#
[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
Architecture:   64-bit
Server MPM:     Prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=128
 -D HTTPD_ROOT="/etc/httpd"
 -D SUEXEC_BIN="/usr/sbin/suexec"
 -D DEFAULT_PIDLOG="run/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="logs/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"
[root@test ~]#
</snip>

Kal
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux