Re: [users@httpd] Restricting number of child processes in Worker MPM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: joshua@xxxxxxxx
To: users@xxxxxxxxxxxxxxxx
Sent: Fri, 8 Sep 2006 1:58 PM
Subject: Re: [users@httpd] Restricting number of child processes in Worker MPM

On 9/8/06, apacheuser123@xxxxxxx <apacheuser123@xxxxxxx> 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: users-unsubscribe@xxxxxxxxxxxxxxxx 
  " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx 
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx 
 

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

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux