httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Qingshan Xie <xieq...@yahoo.com>
Subject Re: [users@httpd] Does Apache kill the extra idle threads?
Date Wed, 18 Oct 2006 23:42:06 GMT
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@slive.ca> wrote:

> On 10/18/06, Qingshan Xie <xieq_49@yahoo.com> 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@httpd.apache.org
>    "   from the digest:
> users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail:
> users-help@httpd.apache.org
> 
> 


__________________________________________________
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message