Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 37947 invoked from network); 13 Sep 2006 16:25:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Sep 2006 16:25:44 -0000 Received: (qmail 85568 invoked by uid 500); 13 Sep 2006 16:25:34 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 85551 invoked by uid 500); 13 Sep 2006 16:25:34 -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 85540 invoked by uid 99); 13 Sep 2006 16:25:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Sep 2006 09:25:34 -0700 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS,HTML_10_20,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [68.142.236.140] (HELO web58202.mail.re3.yahoo.com) (68.142.236.140) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 13 Sep 2006 09:25:22 -0700 Received: (qmail 68268 invoked by uid 60001); 13 Sep 2006 16:24:55 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=rY6k1Qh8RqRT5/cIV9So8V6WK4zJY0ElzJ/RM9WW0f7KYnfkgh5hXnvLWUobq583GrqdRpk9EgewI9bPYs33Ws8eSau+p5XHkHUrRfBO1IIM5SBNVx3bCfI9RMqZntpKyaGN2bz0dI3TAV7G3bN3532xrrArJqU60jWGxq2nxE0= ; Message-ID: <20060913162455.68266.qmail@web58202.mail.re3.yahoo.com> Received: from [71.216.253.117] by web58202.mail.re3.yahoo.com via HTTP; Wed, 13 Sep 2006 09:24:54 PDT Date: Wed, 13 Sep 2006 09:24:54 -0700 (PDT) From: Charles Michener To: users@httpd.apache.org In-Reply-To: <9EFC04356BBC4745B67A41B106F4A47A01CD4B17@TPN-EX01.PROJECT-NETWORK.COM> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-901442444-1158164694=:65261" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Windows max threads X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --0-901442444-1158164694=:65261 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Please pardon me for rehashing but ... I have a Windows server running Apache 2.2. The hardware has a large amount of RAM (2+G) and a fast processor and disk drive system. Under load it too reaches some sort of saturation where the '%D' time to serve changes from .2 seconds to 30.0 or more. Did I understand that I could split my one Apache server into two or more instances of Apache each with their own httpd.conf file running on the same box - all listening to port 80 and each separately serving a subset of my virtual hosts - ie - divide and conquer Alex Turner wrote: Joshua, Thanks for you thoughts - I would have said the same thing. I forgot to mention that the max threads per child is set sufficiently high (200) to run 64 threads already :-( Plus, having max threads per child would not explain why apache takes several second (over 30) to recover and why no pages were served at all under that load. It would appear than opening 64 sockets at once to Apache just 'over whelms it'. This issue is definitely more pernicious than just max threads :-(( Thanks AJ Alexander J Turner Ph.D. www.deployview.com www.nerds-central.blogspot.com www.project-network.com -----Original Message----- From: jslive@gmail.com [mailto:jslive@gmail.com] On Behalf Of Joshua Slive Sent: 12 September 2006 19:36 To: users@httpd.apache.org Subject: TPN POSSIBLE SPAM:Re: [users@httpd] Windows max threads > > I am load testing apache 2.2.3 on windows XP. If I attempt to open 64 or more sockets, it stops serving for a time then recovers. I know this is not that the OS is running out of sockets etc because TAG.net handle 256 sockets simultaneously without any trouble. > You probably need to raise ThreadsPerChild: http://httpd.apache.org/docs/2.2/mod/mpm_common.html#threadsperchild Unlike the unix version, apache httpd for windows does not dynamically adjust to load. You need to specify in advance (using ThreadsPerChild) how many clients will be served. Joshua. --------------------------------------------------------------------- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.12.3/445 - Release Date: 11/09/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.12.3/445 - Release Date: 11/09/2006 --------------------------------------------------------------------- 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 --------------------------------- Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1�/min. --0-901442444-1158164694=:65261 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Please pardon me for rehashing but ...

I have a Windows server running Apache 2.2. The hardware has a large amount of RAM (2+G) and a fast processor and disk drive system. Under load it too reaches some sort of saturation where the '%D' time to serve changes from .2 seconds to 30.0 or more.

Did I understand that I could split my one Apache server into two or more instances of Apache each with their own httpd.conf file running on the same box - all listening to port 80 and each separately serving a subset of my virtual hosts - ie - divide and conquer



Alex Turner <Alex.Turner@Project-Network.com> wrote:
Joshua,

Thanks for you thoughts - I would have said the same thing. I forgot to mention that the max threads per child is set sufficiently high (200) to run 64 threads already :-( Plus, having max threads per child would not explain why apache takes several second (over 30) to recover and why no pages were served at all under that load. It would appear than opening 64 sockets at once to Apache just 'over whelms it'.

This issue is definitely more pernicious than just max threads :-((

Thanks

AJ


Alexander J Turner Ph.D.
www.deployview.com
www.nerds-central.blogspot.com
www.project-network.com

-----Original Message-----
From: jslive@gmail.com [mailto:jslive@gmail.com] On Behalf Of Joshua Slive
Sent: 12 September 2006 19:36
To: users@httpd.apache.org
Subject: TPN POSSIBLE SPAM:Re: [users@httpd] Windows max threads

>
> I am load testing apache 2.2.3 on windows XP. If I attempt to open 64 or more sockets, it stops serving for a time then recovers. I know this is not that the OS is running out of sockets etc because TAG.net handle 256 sockets simultaneously without any trouble.
>

You probably need to raise ThreadsPerChild:
http://httpd.apache.org/docs/2.2/mod/mpm_common.html#threadsperchild

Unlike the unix version, apache httpd for windows does not dynamically
adjust to load. You need to specify in advance (using
ThreadsPerChild) how many clients will be served.

Joshua.

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


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.3/445 - Release Date: 11/09/2006


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.3/445 - Release Date: 11/09/2006


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



Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1�/min. --0-901442444-1158164694=:65261--