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 DD2276384 for ; Mon, 30 May 2011 06:00:31 +0000 (UTC) Received: (qmail 93356 invoked by uid 500); 30 May 2011 06:00:28 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 92937 invoked by uid 500); 30 May 2011 06:00:27 -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 92923 invoked by uid 99); 30 May 2011 06:00:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 May 2011 06:00:25 +0000 X-ASF-Spam-Status: No, hits=3.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of simran4u2@gmail.com designates 209.85.214.45 as permitted sender) Received: from [209.85.214.45] (HELO mail-bw0-f45.google.com) (209.85.214.45) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 May 2011 06:00:17 +0000 Received: by bwz16 with SMTP id 16so3790102bwz.18 for ; Sun, 29 May 2011 22:59:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=m4AxkhwhYOFSeKs7JHx8HZ0YsRzzJbs7OquN2hQABSY=; b=VvaNiYVaQPWHMD3LCh/WIPQYzZCyXWaIfK6ZCL1FEKejCecZ8EgbrWOTqT2ZlBvkL7 AqmDTXWGbRAlDb8uNPPdMqrkOI8ncwHoV3RpTT+GyShzcW+pFIr8PGfFKknfkNQ4PiXB +sA24brp3B2yyCvIDMQZZboZAkOkLf61NUNEw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=EQMOhGs/lAi85trQZgY1PxsWlquv1mNwbLpYr7u32jBLTb0rmBZfiF+xN6iGf5aCBP wYBQ0VxUThyx2mGR0aqRnZs2O5PGmZ31ZJ+Fj6jByl959BffZFJvO790I9lxsQrzVm6J 4JGVQqL6iJLeTLGSDlhZOvUNyW6Ln/DnhogQw= MIME-Version: 1.0 Received: by 10.204.83.212 with SMTP id g20mr3852981bkl.55.1306735197360; Sun, 29 May 2011 22:59:57 -0700 (PDT) Received: by 10.204.122.147 with HTTP; Sun, 29 May 2011 22:59:57 -0700 (PDT) In-Reply-To: References: Date: Mon, 30 May 2011 11:29:57 +0530 Message-ID: From: Harsimranjit singh Kler To: users@httpd.apache.org Content-Type: multipart/alternative; boundary=0016e6da934b4113e004a477fffc X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] Re: Worker configurations --0016e6da934b4113e004a477fffc Content-Type: text/plain; charset=ISO-8859-1 Adding More questions and loking for gud explanations I have not configure Connection _pool_size,connection_timout,keepalive for each of my tomcat worker.So what is default behaviour if not configured? On Thu, May 26, 2011 at 6:21 PM, Harsimranjit singh Kler < simran4u2@gmail.com> wrote: > Hi > > i have following configurations: > > > > ServerLimit 60 > StartServers 5 > MaxClients 2500 > MinSpareThreads 100 > MaxSpareThreads 1000 > ThreadsPerChild 50 > MaxRequestsPerChild 0 > > > 1)Is this fine to handle 2000 to 2500 concurrent user? > > (.Not found any specific details to set these parameters,there are lot of > deifferent opinion on internet) > > > > 2)Why command >ps aux | grep httpd | grep -v "\(root\|grep\)" | wc -l > gives output 6 .?It mean 6 child Process with 50 threads in each. > > But start server=5 so child Process count should 5? > > or > > maxSpareThread/ThreadsPerChild (1000/50)=20.so Child processes count should > 20? > > Confused with this > > > > regards > > Harsimran > > > > > > --0016e6da934b4113e004a477fffc Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Adding More questions and loking for gud explanations
=A0
I have not configure Connection _pool_size,connection_timout,keepalive= for each of my tomcat worker.So what is default behaviour if not configure= d?

On Thu, May 26, 2011 at 6:21 PM, Harsimranjit si= ngh Kler <simra= n4u2@gmail.com> wrote:
Hi
=A0
i have following configurations:
=A0

<IfModule worker.c>
ServerLimit=A0 60
StartServers 5
MaxC= lients 2500
MinSpareThreads 100
MaxSpareThreads 1000
ThreadsPerChi= ld 50
MaxRequestsPerChild 0
</IfModule>

1)Is this fine to handle 2000 to 2500 concurrent user?

(.Not found any specific details to set these parameters,there are lot o= f deifferent opinion on internet)

=A0

2)Why =A0command >ps aux | grep httpd | grep -v "\(root\|grep\)&= quot; | wc -l gives output=A06 .?It mean 6 child Process with 50 threads in= each.

But start server=3D5 so child Process count should 5?

or

maxSpareThread/ThreadsPerChild (1000/50)=3D20.so Child processes count s= hould 20?

Confused with this

=A0

regards

Harsimran

=A0


=A0


--0016e6da934b4113e004a477fffc--