Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 89D187391 for ; Fri, 19 Aug 2011 19:34:19 +0000 (UTC) Received: (qmail 17603 invoked by uid 500); 19 Aug 2011 19:34:16 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 17576 invoked by uid 500); 19 Aug 2011 19:34:15 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 17568 invoked by uid 99); 19 Aug 2011 19:34:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Aug 2011 19:34:15 +0000 X-ASF-Spam-Status: No, hits=-0.6 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of go1010@mailnew.com designates 66.111.4.26 as permitted sender) Received: from [66.111.4.26] (HELO out2.smtp.messagingengine.com) (66.111.4.26) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Aug 2011 19:34:09 +0000 Received: from compute6.internal (compute6.nyi.mail.srv.osa [10.202.2.46]) by gateway1.messagingengine.com (Postfix) with ESMTP id 5178221141 for ; Fri, 19 Aug 2011 15:33:48 -0400 (EDT) Received: from web2.messagingengine.com ([10.202.2.212]) by compute6.internal (MEProxy); Fri, 19 Aug 2011 15:33:48 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:references:subject :in-reply-to:date; s=smtpout; bh=GGyTNnUqDq7tY3VMnfMlAhyS/fY=; b= dSGeMPWE9cNWmXUJU/xW4R55v4/46UGmQEp5fDCax0kWeZpGA69UcHy+GXjsgpBk u7gNogLw0YaRheQ3fFIHX33FEWFNx0C5B4hvE1uqqr2MnKM8ieMpwg0iNTXyLJp4 jYAwMgnI/fxyXoGPjQMqVNvyjDNU+s7Sj5oq+vIyZ4I= Received: by web2.messagingengine.com (Postfix, from userid 99) id 31DE03089F2; Fri, 19 Aug 2011 15:33:48 -0400 (EDT) Message-Id: <1313782428.7530.140258131591997@webmail.messagingengine.com> X-Sasl-Enc: ARyFZa8vJjoQwYK582cw3heO5xHilS4F7lBpIW3WYsQn 1313782428 From: go1010@mailnew.com To: users@httpd.apache.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" X-Mailer: MessagingEngine.com Webmail Interface References: <1313614306.7062.140258130803949@webmail.messagingengine.com> <4E4D6663.3010503@rowe-clan.net> In-Reply-To: <4E4D6663.3010503@rowe-clan.net> Date: Fri, 19 Aug 2011 14:33:48 -0500 X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] number of connection on Windows Apache On Thu, 18 Aug 2011 14:22 -0500, "William A. Rowe Jr." wrote: > 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. > > > > ThreadsPerChild 1 > > > > 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 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