Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 36920 invoked from network); 9 Sep 2010 15:08:36 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Sep 2010 15:08:36 -0000 Received: (qmail 33749 invoked by uid 500); 9 Sep 2010 15:08:32 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 33514 invoked by uid 500); 9 Sep 2010 15:08:29 -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 33505 invoked by uid 99); 9 Sep 2010 15:08:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Sep 2010 15:08:28 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [213.191.128.81] (HELO mxout2.iskon.hr) (213.191.128.81) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Sep 2010 15:08:19 +0000 Received: from mxscanout.iskon.hr (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 1B6B339922B for ; Thu, 9 Sep 2010 17:07:58 +0200 (CEST) Received: from mx.iskon.hr (unknown [213.191.142.124]) by mxscanout.iskon.hr (Postfix) with SMTP id F41CD3991C0 for ; Thu, 9 Sep 2010 17:07:57 +0200 (CEST) Received: (qmail 20075 invoked from network); 9 Sep 2010 17:07:57 +0200 X-AVScan: ClamAV X-Remote-IP: 213.202.84.13 Received: from lns01-0012.dsl.iskon.hr (HELO es55x86w0.jboss.hr) (213.202.84.13) by mx.iskon.hr with SMTP; 9 Sep 2010 17:07:57 +0200 Message-ID: <4C88F854.9030907@apache.org> Date: Thu, 09 Sep 2010 17:08:04 +0200 From: Mladen Turk User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.9) Gecko/20100825 Lightning/1.0b2 Thunderbird/3.1.3 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: 2 second delays in mod_jk while "maintaining workers" References: <294657960-1283961098-cardhu_decombobulator_blackberry.rim.net-1727477265-@bda010.bisx.produk.on.blackberry> <201009091422.24525.jbaker@javasystemsolutions.com> <4C88F318.7050607@apache.org> <201009091548.06509.jbaker@javasystemsolutions.com> In-Reply-To: <201009091548.06509.jbaker@javasystemsolutions.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: IskonProtect X-PerlMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' SUPERLONG_LINE 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1000_LESS 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_500_599 0, BODY_SIZE_7000_LESS 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __MOZILLA_MSGID 0, __SANE_MSGID 0, __TO_MALFORMED_2 0, __USER_AGENT 0' X-Virus-Checked: Checked by ClamAV on apache.org On 09/09/2010 04:48 PM, John Baker wrote: > > > On Thursday 09 September 2010 15:45:44 you wrote: >> Nice. > > I spoke too soon. I'm now trying to figure out how to print out the IP address of the socket (I don't really do C) so I can log the socket that caused the poll to timeout, and compare with a tcpdump. > Try with getsockname, but it's not a trivial task. Perhaps using /proc/pid/fd and matching the socket# we have with the actual info eg. 32 -> socket:[port] Regards -- ^TM --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org