Control Web Panel

WebPanel => Apache => Topic started by: Sandeep on February 25, 2016, 09:33:47 AM

Title: Apache maxclient for prefork MPM
Post by: Sandeep on February 25, 2016, 09:33:47 AM
hello im using apache 2.2.31 with suphp i want to increase the maxclient for prefork MPM. How to increase it? as I didn't found any documents to configure it.
Title: Re: Apache maxclient for prefork MPM
Post by: Sandeep on February 25, 2016, 02:09:44 PM
No body knows it ?
Title: Re: Apache maxclient for prefork MPM
Post by: Igor S. on February 26, 2016, 06:31:49 AM
Hello.

Edit the Apache config
Code: [Select]
/usr/local/apache/conf/httpd.conf You need include the
Code: [Select]
/usr/local/apache/conf/extra/httpd-mpm.conf to Apache confg. Just uncomment line:
Code: [Select]
#Include conf/extra/httpd-mpm.conf

After that you will be able for edit /usr/local/apache/conf/extra/httpd-mpm.conf
Title: Re: Apache maxclient for prefork MPM
Post by: Sandeep on February 26, 2016, 05:06:22 PM
thanks for the help
but maxclient is not changed when I checked with this script :
Code: [Select]
curl -L http://apachebuddy.pl/ | perl
i restarted httpd and server also
Title: Re: Apache maxclient for prefork MPM
Post by: Neo2SHYAlien on March 03, 2016, 06:25:24 AM
Did you restart the httpd after changes ?
Title: Re: Apache maxclient for prefork MPM
Post by: Sandeep on March 03, 2016, 07:00:49 AM
Yes ... I restarted it .
Title: Re: Apache maxclient for prefork MPM
Post by: Neo2SHYAlien on March 03, 2016, 07:34:52 AM
Actually this script not working property (probably because is version 0.3 or is 2 years old without maintenance) :) apachebuddy looking for string MaxClients and get the last founded value. Which is in this section:
Code: [Select]
<IfModule mpm_beos_module>
    StartThreads            10
    MaxClients              50
    MaxRequestsPerThread 10000
</IfModule>
Instructions above works just wrong report from this script ;)
Title: Re: Apache maxclient for prefork MPM
Post by: Sandeep on March 03, 2016, 01:00:58 PM
thanks buddy :) ;D