Re: [users@httpd] Does Apache kill the extra idle threads?

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

 



Yes.  It's worker mpm.  My concern is if the worker
configured as below, 

MinSpareThreads 10
MaxSpareThreads 20
ThreadsPerChild 50

and in the case there are only 10 connections to that
child, but 40 threads are idle, which is over the
limit of MaxSpareThreads(20), will parent kill that
child in this case?

Thx, Q.Xie

--- Joshua Slive <joshua@xxxxxxxx> wrote:

> On 10/18/06, Qingshan Xie <xieq_49@xxxxxxxxx> wrote:
> > My question may be silly but I'd like to know it. 
> If
> > the number of Idle Threads is over the
> > MaxSpareThreads, how Apache parent clean those
> extra
> > threads?  clean the threads or kill the children?
> 
> Depends on the mpm.  In worker, the number of
> threads can only be
> adjusted by creating and destroying processes (each
> process has a
> fixed number of threads).
> 
> 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
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
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



[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