Can't increase Apache MaxClients

Started by mirdul611, October 21, 2017, 08:59:19 PM

Previous topic - Next topic

mirdul611

Hello,

I have been trying to increase Apache MaxClients value from default 256 to higher one and followed these instructions - http://forum.centos-webpanel.com/apache/apache-maxclient-for-prefork-mpm/ but still no luck.

As per suggestion I have edited /usr/local/apache/conf/httpd.conf to include following


# Server-pool management (MPM specific)
Include conf/extra/httpd-mpm.conf


Then added mpm_prefork_module to /usr/local/apache/conf/extra/httpd-mpm.conf and restarted Apache but it's still not accepting more than 256 connections. Can anyone please help me out?


<IfModule mpm_prefork_module>
    StartServers          5
    MinSpareServers       5
    MaxSpareServers      10
    ServerLimit         5000
    MaxClients          5000
    MaxRequestsPerChild   0
</IfModule>