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 170E1107C7 for ; Mon, 2 Mar 2015 09:46:57 +0000 (UTC) Received: (qmail 62718 invoked by uid 500); 2 Mar 2015 09:46:53 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 62644 invoked by uid 500); 2 Mar 2015 09:46:53 -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 62633 invoked by uid 99); 2 Mar 2015 09:46:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Mar 2015 09:46:53 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rajecher@gmail.com designates 74.125.82.172 as permitted sender) Received: from [74.125.82.172] (HELO mail-we0-f172.google.com) (74.125.82.172) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Mar 2015 09:46:27 +0000 Received: by wesx3 with SMTP id x3so32093805wes.7 for ; Mon, 02 Mar 2015 01:45:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ngNuxBoebfiQfB6CI1LFazfw0cOitLuKAcHwrZuH80U=; b=OR3RUpWZlMnGdAln+9Kp5c09/vYtph2IyIO6HwAREkQHU3ON8rWT6YUoCwGl72CPT6 OQ12YJt+x83+N0yhfpGaVPh8I0g4w76wLOuPSMxH7uigtlFTIST+R0Nd7U5anqFBwOoG D5OuyJgxcc85frgGcamQlYptd4Kf+7hT/P+cLmDOiOP6kgqnzVBZufG/VkhK668X4Ikn zo/+6MuPph+GeYOkF5RSLfzLU9O5z6WKa5HMAWdnOMEEAT5LQvmPzSxoujzLeAKGrPAV Kyq/K7ApQE6NL0sCQW7YP8/5WyVvGykuKWc/1mLM8F59z/2uSeWXnUcz1DsTiZOnowtp P6jw== MIME-Version: 1.0 X-Received: by 10.194.24.103 with SMTP id t7mr55578948wjf.15.1425289541617; Mon, 02 Mar 2015 01:45:41 -0800 (PST) Received: by 10.194.172.167 with HTTP; Mon, 2 Mar 2015 01:45:41 -0800 (PST) In-Reply-To: <54F350E9.6000002@kippdata.de> References: <54F350E9.6000002@kippdata.de> Date: Mon, 2 Mar 2015 15:15:41 +0530 Message-ID: Subject: Re: mod_jk dealy sendng request to backend tomcat From: Rajesh Cherukuri To: Tomcat Users List Content-Type: multipart/alternative; boundary=047d7b5d4398d48f8205104b147c X-Virus-Checked: Checked by ClamAV on apache.org --047d7b5d4398d48f8205104b147c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable here is what i can see in modJk log file , we have stopped tomcat 11 a week back , 172.xxxxx [27/Feb/2015:*02:28:14* +0000] "GET /xxxxxx/deal-finder HTTP/1.1"200 15172 20 *lb* tomcat--11** 0 26712 12118 **tomcat-03** 0 820679 4 *20.352845* =E2=80=93 worker configuration *here is my work.property file* *worker.lb.common.type=3Dajp13worker.lb.common.lbfactor=3D1worker.lb.common= .ping_mode=3DAworker.lb.common.socket_connect_timeout=3D10000# worker.lb.common.connection_pool_size=3D6worker.lb.common.connection_pool_t= imeout=3D600worker.lb.common.socket_keepalive=3DTrue* On Sun, Mar 1, 2015 at 11:18 PM, Rainer Jung wrote: > Am 01.03.2015 um 17:57 schrieb Rajesh Cherukuri: > >> hi today i have noticed that mod_jk took 20 seconds delay in sending the >> request to backend tomcat servers from apache , lookslike the request w= as >> assigned to a tomcat 11and it has replicate the request to the other >> tomcat-3 >> >> here are my findings >> >> >> Deal Finder request >> >> >> * Apache request access logs * >> >> >> 172.xxxxxx - - [27/Feb/2015:*02:28:14* +0000] "GET /xxxxx/deal-finder >> HTTP/1.1" 200 15172 "-" "195.xxxx.xxx.xx, " - - >> >> >> Mod_Jk apache log >> >> Mod Jk logs show that the request was assigned to tomcat live 11 but it >> was reassigned to tomcat live 03 since it was down so there might be >> delay >> due to this >> >> >> 172.xxxxx [27/Feb/2015:*02:28:14* +0000] "GET /xxxxxx/deal-finder >> HTTP/1.1" >> 200 15172 20 *lb tomcat--11* 0 26712 12118 *tomcat-03* 0 820679 >> 4 20.352845 =E2=80=93 >> >> >> ------------------------------------ >> >> *Tomcat access logs - Delay of 20 sec from mod JK * >> >> >> 172.xxx - - [27/Feb/2015:02:*28:34* +0000] 'GET /xxxxxx/deal-finder >> HTTP/1.1' 200 15172 TP-Processor243 >> D45BF91DBAF9D2CBFFBC2D6B19D3CC61.tomcat-03 0.127 >> >> >> >> Tomcat response in 0.127 millseconds quick >> > > What's in your mod_jk log file? > > What is your worker configuration? > > Regards, > > Rainer > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --047d7b5d4398d48f8205104b147c--