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
>>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
(ps -ef | grep httpd), average is
about 40 threads and goes upto 70 at the peak. Does the above setting sounds
resonable?
Doug Bell-4 wrote:
>
> On May 27, 2009, at 11:14 PM, CrystalCracker wrote:
>
>>
>> Can anyone explain me how exactly prefork works?
>>
>>
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