Author Topic: Can't increase Apache MaxClients  (Read 1105 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Can't increase Apache MaxClients
« on: October 21, 2017, 08:59:19 PM »
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

Code: [Select]
# 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?

Code: [Select]
<IfModule mpm_prefork_module>
    StartServers          5
    MinSpareServers       5
    MaxSpareServers      10
    ServerLimit         5000
    MaxClients          5000
    MaxRequestsPerChild   0
</IfModule>

Offline
*
Re: Can't increase Apache MaxClients
« Reply #1 on: October 25, 2017, 01:14:16 PM »
Anyone?