Re: number of connection on Windows Apache

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

 




On Thu, 18 Aug 2011 14:22 -0500, "William A. Rowe Jr."
<wrowe@xxxxxxxxxxxxx> wrote:
> On 8/17/2011 3:51 PM, go1010@xxxxxxxxxxx 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).
> 

I suspected this as well and here is the experiment I did. I start one
curl client with low data rate with option  "--limit-rate 10" (10 bytes
per second), and afterwards I start a normal curl client. It seems
initially the second curl client waits for something for a few seconds,
and then it quickly finishes downloading. After that the first curl
client download is still going on. So it seems the second connection
does not need to wait for the first one to finish. By the way,  is there
a way observe the two pool? I used server-status module, and I can see
very clearly there is only one worker there. 

W...............................................................
................................................................


Thanks, Andrew

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