Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 56580 invoked from network); 28 Sep 2007 02:39:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Sep 2007 02:39:56 -0000 Received: (qmail 30740 invoked by uid 500); 28 Sep 2007 02:39:29 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 30724 invoked by uid 500); 28 Sep 2007 02:39:29 -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 30703 invoked by uid 99); 28 Sep 2007 02:39:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Sep 2007 19:39:29 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [203.9.185.139] (HELO mx02.citec.com.au) (203.9.185.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2007 02:41:51 +0000 Received: from mailgate1.nrm.qld.gov.au (mailgate1.nrm.dmz.nat [172.17.100.222]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.citec.com.au (Postfix) with ESMTP id 303FF104C6 for ; Fri, 28 Sep 2007 12:39:04 +1000 (EST) Received: from lahpq002.lands.resnet.qg (lahpq002.dmz [10.2.253.135]) by mailgate1.nrm.qld.gov.au (Postfix) with ESMTP id 920299488B for ; Fri, 28 Sep 2007 12:39:03 +1000 (EST) Received: from minfolders.lands.resnet.qg (minfolders.lands.resnet.qg) by lahpq002.lands.resnet.qg (Clearswift SMTPRS 5.2.9) with ESMTP id for ; Fri, 28 Sep 2007 12:39:03 +1000 Received: from MINMAIL1.lands.resnet.qg ([131.242.98.32]) by minfolders.lands.resnet.qg with Microsoft SMTPSVC(6.0.3790.1830); Fri, 28 Sep 2007 12:39:02 +1000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Fri, 28 Sep 2007 12:39:01 +1000 Message-ID: <28602243B144B34F847BC4073CE7C1A50198499B@MINMAIL1.lands.resnet.qg> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Understanding the APACHE 1.3 process model Thread-Index: AcgBeLoEI+8bne0uTYeg9sRKQ3yY9g== From: "Robinson Craig" To: X-OriginalArrivalTime: 28 Sep 2007 02:39:02.0948 (UTC) FILETIME=[BB42CE40:01C80178] X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] Understanding the APACHE 1.3 process model Hi Folks, I'm trying to clarify my understanding of the APACHE 1.3 process model on Solaris UNIX. As I understand, "Apache 1.3 on UNIX is a pre-forking process per request server". This means that Apache effectively needs 1 HTTP process per 1 concurrently connected client. For example, if [StartServers 5] is set in httpd.conf, Apache starts with 6 HTTPD processes (5 childs + 1 parent). If there were 20 concurrently connected clients, then there would be 21 HTTPD processes. Firstly, is this correct understanding? If so, my next question is thus: What constitutes a "concurrently connected client"? At a moment in time, if I run the following netstat command on a Solaris machine: netstat -P tcp -n | grep ".80 " | grep -v TIME_WAIT | wc -l I get '45', which is constituted as follows, with the following TCP statuses: 23 x ESTABLISHED 1 x FIN_WAIT_1 20 x FIN_WAIT_2 1 x LAST_ACK -- 45 However, if I count the number of HTTPD processes at this same point in time per '/usr/ucb/ps -auxww | grep httpd | wc -l', I get '35'. Therefore, either my first premise above is wrong...or I am not measuring the number of 'concurrently connected clients' accurately. Any enlightenment will be appreciated. Cheers, Craig ************************************************************************ The information in this email together with any attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any form of review, disclosure, modification, distribution and/or publication of this email message is prohibited, unless as a necessary part of Departmental business. If you have received this message in error, you are asked to inform the sender as quickly as possible and delete this message and any copies of this message from your computer and/or your computer system network. ************************************************************************ --------------------------------------------------------------------- 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