Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-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 4C1F62DFE for ; Fri, 29 Apr 2011 07:45:00 +0000 (UTC) Received: (qmail 56783 invoked by uid 500); 29 Apr 2011 07:44:56 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 56463 invoked by uid 500); 29 Apr 2011 07:44:50 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 56452 invoked by uid 99); 29 Apr 2011 07:44:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Apr 2011 07:44:49 +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 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; Fri, 29 Apr 2011 07:44:42 +0000 Received: by bwz16 with SMTP id 16so4327056bwz.18 for ; Fri, 29 Apr 2011 00:44:22 -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=OcFj/4WMYLcz6LgldOihy3iDHRNJrrypm4NcxZX5yOU=; b=nGe9B6qACII1LLQ6OHAxuHzt0Ew5aLrnCSNDYrnhT1Qbn2ui57wQUS8NHFVlwNguPf XFzVqlJ6wkyDoyMSAzDbEs9i4Fsoeh2qLCCdk2dPTG4z0EOdzrMwT6ftT0e+rHpq993P /X/hKPU6J0elVAdAjLmVwGNLGteYQNzpWghmI= 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=UwH6oF4yH1EuDNMp2mVqfTqpbqwc1cLSICgebBllM+HoTCgwq7OModSt22tp0kDVtp 9HWOLJaw6SxOG5ZJKy2hfDBQ9HQgJbaVHjTfeKxAT7V8axNLLE35e+nXGyL2iO58iJr7 PTLAbXbs+5vIyhyNiECMKr8GqQMCUdsBwYEf0= MIME-Version: 1.0 Received: by 10.204.118.211 with SMTP id w19mr387422bkq.83.1304063061827; Fri, 29 Apr 2011 00:44:21 -0700 (PDT) Received: by 10.204.115.131 with HTTP; Fri, 29 Apr 2011 00:44:21 -0700 (PDT) In-Reply-To: <4DB87040.6050104@ice-sa.com> References: <4DB87040.6050104@ice-sa.com> Date: Fri, 29 Apr 2011 13:14:21 +0530 Message-ID: Subject: Re: modjk apache response questions From: Harsimranjit singh Kler To: Tomcat Users List Content-Type: multipart/alternative; boundary=0016e6dd993a90a03c04a209d7aa X-Virus-Checked: Checked by ClamAV on apache.org --0016e6dd993a90a03c04a209d7aa Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi andre Actully i m testing performance of my setup.I have apache 2.2.17 handling requests and configured 4 tomcats with modjk connector. ServerLimit 30 worker MPM details: StartServers 20 MaxClients 1500 MinSpareThreads 40 MaxSpareThreads 100 ThreadsPerChild 50 MaxRequestsPerChild 0 server.xml for each tomcat -------------------------------------------- Now i have tested by hitting some concurent requests on apache load balancer(LB):- a) 400 request 1 LB ,1 tomcat=3D=3Dexpected response time b) 400 request 1 LB ,2 tomcat=3D=3Dexpected response time c) 400 request 1 LB ,3 tomcat=3D=3Dexpected response time but a) 800 request 1 LB, 2 tomcat=3D=3DSlow response time(double) b) 800 request 1 LB ,3 tomcat=3D=3DSlow response time(double) a) 1200 request 1 LB, 3 tomcat=3D=3DSlow response time(three time) why LB slow down with increased concurent requests(CPU & memory utilisation same)? Hope u clear with my problem? On Thu, Apr 28, 2011 at 1:06 AM, Andr=E9 Warnier wrote: > It may be me, but your question is not very clear. > Let me try again : > Since you seem to have Apache httpd in front of Tomcat, you can try to us= e > the "ab" program which comes with Apache httpd, to send requests to httpd= , > and by selecting appropriate requests, have them forwarded to Tomcat thro= ugh > mod_jk. > Then, at the Apache httpd level, the mod_status module would help you > figure out what is going on at the Apache httpd level. > The mod_jk status worker will show you what is going on at the mod_jk > level. > And the Tomcat Manager (server-status part), will show you some informati= on > about what is going on at the Tomcat level. > There are also tools such as "jconsole" which can show you what is > happening at the level of the JVM which runs Tomcat (each Tomcat, if you > have several). > > References for the above : > Apache "ab" program : http://httpd.apache.org/docs/2.2/programs/ab.html > Apache mod_status : http://httpd.apache.org/docs/2.2/mod/mod_status.html > mod_jk status worker : > http://tomcat.apache.org/connectors-doc/reference/status.html > Tomcat Manager application : > http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html > Monitoring the Tomcat JVM : > http://tomcat.apache.org/tomcat-5.5-doc/monitoring.html > > If that does not answer your question, then try to be more clear about wh= at > exactly you are looking for. For example, what do you mean by "test load"= ? > What precisely are you trying to find out ? > > > > > Harsimranjit singh Kler wrote: > >> Hi Andre >> >> i checked but i want simple steps to test load on my each worker as am >> doing >> first time.Thanks >> regards >> Harsimran >> On Wed, Apr 27, 2011 at 8:57 PM, Harsimranjit singh Kler < >> simran4u2@gmail.com> wrote: >> >> Hi >>> >>> >>> I need some observations on loadbalancer with mod jk, such as >>> How to check utilization of each httpd workers? How to check what is t= he >>> number of connections active on the each separate >>> Tomcats when there is load?.How i can increase response time?AJP port >>> should unique in worker.properities? >>> >>> Whenever i am increasing concurrent requests on LB response time >>> decreases? >>> Using apache 2.2.17+modjk1.2.31+tomcat 5.5.27 >>> >>> >>> regards >>> harsimran >>> >>> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --0016e6dd993a90a03c04a209d7aa--