Thanks Joshua. I am trying to make sure there is exactly one memory cache per box. Guess your explanation means that I am achieving that with the config I posted ?

Also, would setting the ThreadsPerChild to 150 cause performance issues( I am running Apache on Red hat) or is 150 a OK value ?

Thanks again..
 
 
-----Original Message-----
From: [EMAIL PROTECTED]
To: users@httpd.apache.org
Sent: Fri, 8 Sep 2006 1:58 PM
Subject: Re: [EMAIL PROTECTED] Restricting number of child processes in Worker MPM

On 9/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: 


> Hi, 

> I have configured apache to run using the worker MPM. I am trying to 
> restrict the number of child processes it spawns to one. Here is the 
> relevant section from httpd.conf 

> <IfModule mpm_worker_module> 
> StartServers 1 
> MaxClients 150 
> ThreadsPerChild 150 
> MinSpareThreads 1 
> MaxSpareThreads 150 
> </IfModule> 

> Howerver, when I restart apache, I see 3 httpd instances( 1 parent , 2 
> child ). Is there anything wrong with the above config ? 
 
The extra child is probably the CGI daemon used for launching CGI scripts. 
 
Joshua. 
 
--------------------------------------------------------------------- 
The official User-To-User support forum of the Apache HTTP Server Project. 
See <URL:http://httpd.apache.org/userslist.html> for more info. 
To unsubscribe, e-mail: [EMAIL PROTECTED] 
  " from the digest: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 
 

Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam and email virus protection.

Reply via email to