[Building Sakai] Httpd 2.2 MaxClient Problem

Adrian Fish adrian.r.fish at gmail.com
Thu May 16 04:28:14 PDT 2013


Ours is set to this. The default, as you can see, was set to 150.

<IfModule mpm_worker_module>
    StartServers          2
    MinSpareThreads      25
    MaxSpareThreads      75
    ThreadLimit          64
    ThreadsPerChild      25
    #MaxClients          150
    MaxClients          400
    MaxRequestsPerChild   0
</IfModule>


On 16 May 2013 12:26, Adrian Fish <adrian.r.fish at gmail.com> wrote:

> You need to set maxThreads in your tomcat server.xml as well. It needs to
> be the same as MaxClients in apache2.conf.
>
> Cheers,
> Adrian.
>
>
> On 16 May 2013 11:52, Jehan Badshah <jehan.badshah at nu.edu.pk> wrote:
>
>> Dear All
>>
>>
>> We are using Httpd2.2 with AJP connecter.
>>
>> When concurrent users are increasing (i.g., more than 300) then some time
>> Apache (Httpd server) throws following  error
>>
>> "*[error] server reached MaxClients setting, consider raising the
>> MaxClients setting"
>> *
>>
>> But in httpd.conf we did not specify any entry like MaxClient, MaxServer
>>
>> I google it and found that we should add following lines to our httpd.conf
>>
>>
>> <IfModule mpm_prefork_module>
>>     StartServers          A
>>     MinSpareServers       B
>>     MaxSpareServers      C
>>     MaxClients          D
>>     MaxRequestsPerChild   E
>>     ServerLimit   F
>> </IfModule>
>>
>>
>> If I did not specify any of above lines then what is default number of
>> concurrent connection and ServerLimit
>>
>> At most 500 users come online, so what are best configuration values
>> (i.g., A, B, C, D, E, F)
>>
>>
>>
>>
>> Regards
>>
>>
>>
>>
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email to
>> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
>> "unsubscribe"
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130516/299db266/attachment.html 


More information about the sakai-dev mailing list