You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Harsimranjit singh Kler <si...@gmail.com> on 2011/05/26 14:51:49 UTC

[users@httpd] Worker configurations

Hi

i have following configurations:


<IfModule worker.c>
ServerLimit  60
StartServers 5
MaxClients 2500
MinSpareThreads 100
MaxSpareThreads 1000
ThreadsPerChild 50
MaxRequestsPerChild 0
</IfModule>

1)Is this fine to handle 2000 to 2500 concurrent user?

(.Not found any specific details to set these parameters,there are lot of
deifferent opinion on internet)



2)Why  command >ps aux | grep httpd | grep -v "\(root\|grep\)" | wc -l gives
output 6 .?It mean 6 child Process with 50 threads in each.

But start server=5 so child Process count should 5?

or

maxSpareThread/ThreadsPerChild (1000/50)=20.so Child processes count should
20?

Confused with this



regards

Harsimran

[users@httpd] Re: Worker configurations

Posted by Harsimranjit singh Kler <si...@gmail.com>.
Adding More questions and loking for gud explanations

I have not configure Connection _pool_size,connection_timout,keepalive for
each of my tomcat worker.So what is default behaviour if not configured?

On Thu, May 26, 2011 at 6:21 PM, Harsimranjit singh Kler <
simran4u2@gmail.com> wrote:

> Hi
>
> i have following configurations:
>
>
> <IfModule worker.c>
> ServerLimit  60
> StartServers 5
> MaxClients 2500
> MinSpareThreads 100
> MaxSpareThreads 1000
> ThreadsPerChild 50
> MaxRequestsPerChild 0
> </IfModule>
>
> 1)Is this fine to handle 2000 to 2500 concurrent user?
>
> (.Not found any specific details to set these parameters,there are lot of
> deifferent opinion on internet)
>
>
>
> 2)Why  command >ps aux | grep httpd | grep -v "\(root\|grep\)" | wc -l
> gives output 6 .?It mean 6 child Process with 50 threads in each.
>
> But start server=5 so child Process count should 5?
>
> or
>
> maxSpareThread/ThreadsPerChild (1000/50)=20.so Child processes count should
> 20?
>
> Confused with this
>
>
>
> regards
>
> Harsimran
>
>
>
>
>
>