Can anyone explain me how exactly prefork works?
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
ServerLimit 16
I think I got confused between the terms - server, process and thread. If
prefork is a single thread process, what does that ThreadsPerChild mean
On May 27, 2009, at 11:14 PM, CrystalCracker wrote:
Can anyone explain me how exactly prefork works?
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
ServerLimit 16
Prefork works by spawning one process to handle one connection. So
here, Apache can spa
Thanks a lot for the response.
I will do some ab and siege tests to verify it, but I am trying to
conceptually understand it first.
StartServers 5
MinSpareServers 5
MaxSpareServers 20
MaxClients250
MaxRequestsPerChild 4000
I have at least 20 active apache threads (
On May 28, 2009, at 2:55 PM, CrystalCracker wrote:
Thanks a lot for the response.
I will do some ab and siege tests to verify it, but I am trying to
conceptually understand it first.
StartServers 5
MinSpareServers 5
MaxSpareServers 20
MaxClients250
MaxRequestsPerChild
>>MaxClients at 250 means that potentially 250 httpd processes can be
>>running at once. Do you have the memory to support that many without
>>swapping? Swapping usually ends up killing a system, especially if
>>it's already handling a lot of disk i/o.
Regarding MaxClients at 250, the only
On May 28, 2009, at 4:19 PM, CrystalCracker wrote:
MaxClients at 250 means that potentially 250 httpd processes can be
running at once. Do you have the memory to support that many without
swapping? Swapping usually ends up killing a system, especially if
it's already handling a lot of disk i/o
CrystalCracker wrote:
Thanks a lot for the response.
I will do some ab and siege tests to verify it, but I am trying to
conceptually understand it first.
StartServers 5
MinSpareServers 5
MaxSpareServers 20
MaxClients250
MaxRequestsPerChild 4000
I have at least 2
It was thus said that the Great Doug Bell once stated:
> On May 28, 2009, at 2:55 PM, CrystalCracker wrote:
>
> >I have at least 20 active apache threads (ps -ef | grep httpd), average
> >is about 40 threads and goes upto 70 at the peak. Does the above setting
> >sounds resonable?
>
> MaxClients
On May 28, 2009, at 12:55 PM, CrystalCracker wrote:
Thanks a lot for the response.
I will do some ab and siege tests to verify it, but I am trying to
conceptually understand it first.
StartServers 5
MinSpareServers 5
MaxSpareServers 20
MaxClients250
MaxRequestsPerChil
Ok, now given that I have the following settings for prefork:
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients250
MaxRequestsPerChild 1
Is the following setting for Tomcat AJP Connector appropriate? What I wanna
know is how the apache processes work
10 matches
Mail list logo