httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe Jr." <wr...@rowe-clan.net>
Subject Re: [users@httpd] number of connection on Windows Apache
Date Thu, 18 Aug 2011 19:22:11 GMT
On 8/17/2011 3:51 PM, go1010@mailnew.com wrote:
> Hi, I am using Apache 2.2.17 on Windows Server. To experiment with the
> limit of number of simultaneous connection, I used the directive
> ThreadsPerChild set the number to 1. So I am only supposed to be able to
> have one connection at a time. But I am surprised to see I can use two
> curl clients to download files at the same time. I wonder how to explain
> this.
> 
> The following is my setting.
> <IfModule mpm_winnt_module>
>     ThreadsPerChild      1
> </IfModule>

I believe you are observing the distinction between the accept pool
and the worker dispatch pool.  The server has accepted the second
connection, and is stalled waiting for a worker to dispatch to (which
you had fixed at one, and it is working on the first connection).


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