Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 34645 invoked from network); 11 Mar 2009 00:16:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Mar 2009 00:16:40 -0000 Received: (qmail 64425 invoked by uid 500); 11 Mar 2009 00:16:28 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 64407 invoked by uid 500); 11 Mar 2009 00:16:28 -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 64398 invoked by uid 99); 11 Mar 2009 00:16:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Mar 2009 17:16:28 -0700 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tadeudca@gmail.com designates 209.85.200.168 as permitted sender) Received: from [209.85.200.168] (HELO wf-out-1314.google.com) (209.85.200.168) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Mar 2009 00:16:21 +0000 Received: by wf-out-1314.google.com with SMTP id 27so2678858wfd.15 for ; Tue, 10 Mar 2009 17:16:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=+U3osYeq6c/FgpTYxNtRLulMbZZxieofcim6D1kAIPk=; b=I2EpU43O3E+1UrNL5GaFmMmiByvR9eN4ZT2Tx7B/a+WEDQtviZIzqEVOzOtl9L20+F OLN3B4kD83w23Kpl2AVc3Z9NeprD/+HU5ciBpuMuZYDjLm0OMbGxRd1Bxba4g7ds5vOt 7AvfZOmSJMAFr4rqlN2YMpPuD95ZtmJoX5PB4= 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=hIRZNCA2FROPj85psXXUC/CY05l5vmalTGdyBbiw+YDHUIYkA+EmE91UM35tYEzVZY 9m+Igmf1+YBusRMSegZolMy6fR2m/DMBCLgDFh1qSkBJTea3cVbB9qhGPZ+4KUqUeBKG JHvtbcUDIAsYVkJ7FpWBHcdmnmS/dL65z/X9Q= MIME-Version: 1.0 Received: by 10.142.58.5 with SMTP id g5mr3365793wfa.170.1236730561265; Tue, 10 Mar 2009 17:16:01 -0700 (PDT) In-Reply-To: References: <03ac01c9a01e$b02596ae$020a0a0a@formatdynamics.com> Date: Tue, 10 Mar 2009 21:16:01 -0300 Message-ID: From: Tadeu Alves To: users@httpd.apache.org Content-Type: multipart/alternative; boundary=001636e0aa33c97fea0464ccc558 X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Re: Tuning worker MPM --001636e0aa33c97fea0464ccc558 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Well if i think the variable "ServerLimit 250" means that the maximum amoun= t of users will be 250 below goes my server configuration about 300 simultaneous connections with apache running about 25m and virtual 300m ServerLimit 30 ThreadLimit 70 StartServers 20 MaxClients 500 MinSpareThreads 10 MaxSpareThreads 15 ThreadsPerChild 50 MaxRequestsPerChild 2000 MaxMemFree 5000 ReceiveBufferSize 714400 On Tue, Mar 10, 2009 at 4:30 PM, kulbir Saini wrot= e: > Hi, > > I have applied following changes to worker threads- > > ServerLimit 250 > StartServers 2 > MaxClients 6000 > MinSpareThreads 75 > MaxSpareThreads 250 > ThreadsPerChild 25 > MaxRequestsPerChild 20000 > > > I have made above changes and after that i saw the httpd RSS memory shown > now is 6.5MB. With the old below config earlier it was 4M- > > > #ServerLimit 25 > StartServers 2 > MaxClients 300 > MinSpareThreads 75 > MaxSpareThreads 250 > ThreadsPerChild 25 > MaxRequestsPerChild 20000 > > > nothing elase changed. Any idea why increase in RSS? > > Kulbir > > On Sun, Mar 8, 2009 at 2:50 PM, Anthony J. Biacco < > abiacco@formatdynamics.com> wrote: > >> I have educated him on this as have others and am helping him privately = as >> i'm on the apache list as well. >> >> -Tony >> >> Sent from my Windows Mobile=AE phone. >> >> -----Original Message----- >> From: Andr=E9 Warnier >> Sent: Sunday, March 08, 2009 11:45 AM >> To: Tomcat Users List >> Subject: Re: Tuning worker MPM >> >> kulbir Saini wrote: >> [...] >> >> You have just bought a Ford car, and you are calling the General Motors >> distributor about a problem with it. Even assuming there's still >> someone there to answer your call, they won't be able to help you. >> ;-) >> >> In other words, Kulbir Saini, you are posting to the wrong list. >> This list is for the Tomcat Java servlet server. >> Apache webserver (or httpd) related questions should go to the Apache >> httpd user list. See "http://httpd.apache.org" for details. >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >> For additional commands, e-mail: users-help@tomcat.apache.org >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >> For additional commands, e-mail: users-help@tomcat.apache.org >> >> > --001636e0aa33c97fea0464ccc558 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Well if i think the variable "ServerLimit 250" means that th= e maximum amount of users will be 250
below goes my server configuration about 300 simultaneous connections = with apache running about 25m and virtual 300m
=A0
<IfModule worker.c>
ServerLimit=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0 30
ThreadLimit=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 70
StartServers= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 20
MaxClients=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 500
MinSpareThreads=A0=A0=A0=A0=A0=A0=A0 10
MaxSpareThreads=A0= =A0=A0=A0=A0=A0=A0 15
ThreadsPerChild=A0=A0=A0=A0=A0=A0=A0 50
MaxRequestsPerChild=A0 2000
MaxMemFree=A0=A0=A0=A0 5000
ReceiveBuffe= rSize=A0 714400
</IfModule>

On Tue, Mar 10, 2009 at 4:30 PM, kulbir Saini <kulbir.saini= 1@gmail.com> wrote:
Hi,

I have applied follow= ing changes to worker threads-

ServerLimit=A0=A0=A0=A0=A0=A0=A0=A0 2= 50
StartServers=A0=A0=A0=A0=A0=A0=A0=A0 2
MaxClients=A0=A0=A0=A0=A0=A0=A0=A0 6000
MinSpareThreads=A0=A0=A0=A0 75MaxSpareThreads=A0=A0=A0 250
ThreadsPerChild=A0=A0=A0=A0 25
MaxRequ= estsPerChild=A0 20000


I have made above changes and after that i= saw the httpd RSS memory shown now is 6.5MB.=A0 With the old below config = earlier it was=A0 4M-

<IfModule worker.c>
#ServerLimit=A0=A0=A0=A0=A0=A0=A0=A0 25StartServers=A0=A0=A0=A0=A0=A0=A0=A0 2
MaxClients=A0=A0=A0=A0=A0=A0=A0= =A0 300
MinSpareThreads=A0=A0=A0=A0 75
MaxSpareThreads=A0=A0=A0 250ThreadsPerChild=A0=A0=A0=A0 25
MaxRequestsPerChild=A0 20000


nothing elase changed. Any idea why increase in RSS?

Kulbir
<= br>
On Sun, Mar 8, 2009 at 2:50 PM, Anthony J. Biacc= o <abiacco@formatdynamics.com> wrote:
I have educated him = on this as have others and am helping him privately as i'm on the apach= e list as well.

-Tony

Sent from my Windows Mobile=AE phone.

-----Ori= ginal Message-----
From: Andr=E9 Warnier <aw@ice-sa.com>
Sent: Sunday, March = 08, 2009 11:45 AM
To: Tomcat Users List <users@tomcat.apache.org>
Subject: Re: Tuning worker M= PM

kulbir Saini wrote:
[...]

You have just bought a Ford c= ar, and you are calling the General Motors
distributor about a problem with it. =A0Even assuming there's still
= someone there to answer your call, they won't be able to help you.
;= -)

In other words, Kulbir Saini, you are posting to the wrong list.<= br> This list is for the Tomcat Java servlet server.
Apache webserver (or ht= tpd) related questions should go to the Apache
httpd user list. See &quo= t;http://httpd.apach= e.org" for details.



---------------------------------------------------------------= ------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


-------= --------------------------------------------------------------
To unsubs= cribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



--001636e0aa33c97fea0464ccc558--