Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 02D4C200C63 for ; Thu, 11 May 2017 17:20:36 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 013EE160BC7; Thu, 11 May 2017 15:20:36 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 45F73160BB2 for ; Thu, 11 May 2017 17:20:35 +0200 (CEST) Received: (qmail 53335 invoked by uid 500); 11 May 2017 15:20:33 -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 53319 invoked by uid 99); 11 May 2017 15:20:33 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 May 2017 15:20:33 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 4CF70C0DA0 for ; Thu, 11 May 2017 15:20:33 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.001 X-Spam-Level: X-Spam-Status: No, score=-0.001 tagged_above=-999 required=6.31 tests=[SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id RHsiCKRv2e1r for ; Thu, 11 May 2017 15:20:30 +0000 (UTC) Received: from thor.wissensbank.com (thor.wissensbank.com [81.169.250.120]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id A96B65FB62 for ; Thu, 11 May 2017 15:20:30 +0000 (UTC) Received: from thor.wissensbank.com (localhost [127.0.0.1]) by thor.wissensbank.com (Postfix) with ESMTP id 609A73DC808CC for ; Thu, 11 May 2017 17:20:30 +0200 (CEST) Received: by thor.wissensbank.com (Postfix, from userid 500) id 555663DC808CD; Thu, 11 May 2017 17:20:30 +0200 (CEST) Received: from [192.168.245.129] (pd956abfc.dip0.t-ipconnect.de [217.86.171.252]) (Authenticated sender: andre.warnier@ice-sa.com) by thor.wissensbank.com (Postfix) with ESMTPA id 35E8E3DC808CC for ; Thu, 11 May 2017 17:20:28 +0200 (CEST) Subject: Re: CLOSE_WAIT between Application (Tomcat) and Apache HTTPD To: users@tomcat.apache.org References: <4bdcb598-8d2a-39b0-61cb-09a5c8fedd39@christopherschultz.net> From: =?UTF-8?Q?Andr=c3=a9_Warnier_=28tomcat=29?= Message-ID: <591481D8.30109@ice-sa.com> Date: Thu, 11 May 2017 17:23:04 +0200 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP archived-at: Thu, 11 May 2017 15:20:36 -0000 On 11.05.2017 16:57, Adhavan Mathiyalagan wrote: > Hi Chris, > > *Tomcat Configuration* > > HTTP/1.1 and APR > > > connectionTimeout="20000" > > redirectPort="8443" maxHttpHeaderSize="8192" /> > > > ${catalina.base}/conf/web.xml > > className="org.apache.catalina.session.StandardManager" > maxActiveSessions="400"/> > > > > *HTTPD Configuration* > > > ServerTokens OS > ServerRoot "/etc/httpd" > > PidFile run/httpd.pid > > Timeout 60 > KeepAlive Off > MaxKeepAliveRequests 100 > KeepAliveTimeout 15 > > StartServers 256 > MinSpareServers 100 > MaxSpareServers 500 > ServerLimit 2000 > MaxClients 2000 > MaxRequestsPerChild 4000 > > > > StartServers 4 > MaxClients 300 > MinSpareThreads 25 > MaxSpareThreads 75 > ThreadsPerChild 25 > MaxRequestsPerChild 0 > > > > > ServerName * > Timeout 300 > ProxyPreserveHost On > ProxyRequests Off > > BalancerMember http://dl360x3799:8011/admx_ecms/view/services retry=60 > status=+H route=dl360x3799.8011 > BalancerMember http://dl360x3799:8012/admx_ecms/view/services retry=60 > status=+H route=dl360x3799.8012 > ProxySet stickysession=JSESSIONID > ProxySet lbmethod=byrequests > > ProxyPass /custcare_cmax/view/services balancer://wsiservices > ProxyPassReverse /custcare_cmax/view/services balancer://wsiservices > ProxyPass /admx_ecms/view/services balancer://wsiservices > ProxyPassReverse /admx_ecms/view/services balancer://wsiservices > > BalancerMember http://dl360x3806:8035/custcare_cmax/services/ws_cma3 > retry=60 route=dl360x3806.8035 > BalancerMember http://dl360x3806:8036/custcare_cmax/services/ws_cma3 > retry=60 route=dl360x3806.8036 > ProxySet stickysession=JSESSIONID > ProxySet lbmethod=byrequests > > ProxyPass /custcare_cmax/services/ws_cma3 balancer://wsiinstances > ProxyPassReverse /custcare_cmax/services/ws_cma3 balancer://wsiinstances > ProxyPass /admx_ecms/services/ws_cma3 balancer://wsiinstances > ProxyPassReverse /admx_ecms/services/ws_cma3 balancer://wsiinstances > > BalancerMember http://dl360x3799:8011/admx_ecms retry=60 status=+H > route=dl360x3799.8011 > BalancerMember http://dl360x3799:8012/admx_ecms retry=60 status=+H > route=dl360x3799.8012 > ProxySet stickysession=JSESSIONID > ProxySet lbmethod=byrequests > > ProxyPass /admx_ecms balancer://admxcluster > ProxyPassReverse /admx_ecms balancer://admxcluster > > BalancerMember http://dl360x3799:8021/custcare_cmax retry=60 status=+H > route=dl360x3799.8021 > BalancerMember http://dl360x3799:8022/custcare_cmax retry=60 status=+H > route=dl360x3799.8022 > BalancerMember http://dl360x3806:8035/custcare_cmax retry=60 > route=dl360x3806.8035 > BalancerMember http://dl360x3806:8036/custcare_cmax retry=60 > route=dl360x3806.8036 > ProxySet stickysession=JSESSIONID > ProxySet lbmethod=byrequests > > ProxyPass /custcare_cmax balancer://cmaxcluster > ProxyPassReverse /custcare_cmax balancer://cmaxcluster > > BalancerMember http://dl360x3805:8089/mx route=dl360x3806.8089 > ProxySet stickysession=JSESSIONID > ProxySet lbmethod=byrequests > > ProxyPass /mx balancer://mxcluster > ProxyPassReverse /mx balancer://mxcluster > > SetHandler balancer-manager > > > SetHandler server-status > > ExtendedStatus On > TraceEnable Off > SetEnv force-proxy-request-1.0 1 > SetEnv proxy-nokeepalive 1 > > Hi. Your netstat screenshot showed the CLOSE_WAIT connections on port 8030, like : tcp 509 0 ::ffff:10.61.137.49:8030 ::ffff:10.61.137.47:60903 CLOSE_WAIT But I do not see any mention of port 8030 in your configs above. So what is listening there ? ("netstat --tcp -aopn" would show this) > On Thu, May 11, 2017 at 7:20 PM, Christopher Schultz < > chris@christopherschultz.net> wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA256 >> >> Adhavan, >> >> On 5/11/17 9:30 AM, Adhavan Mathiyalagan wrote: >>> The connections in the CLOSE_WAIT are owned by the Application >>> /Tomcat process. >> >> Okay. Can you please post your configuration on both httpd and Tomcat >> sides? If it's not clear from your configuration, please tell us which >> type of connector you are using (e.g. AJP/HTTP and BIO/NIO/APR). >> >> - -chris >> -----BEGIN PGP SIGNATURE----- >> Comment: GPGTools - http://gpgtools.org >> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ >> >> iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlkUbAoACgkQHPApP6U8 >> pFjWZQ/9EfGcfgvvkM92bIaRBYYh93ET2X7tKP6xQnusKfJ6D0xubfAOU5E+P77c >> BM/3jS1rNyP29zOouHxsGj3h8VzHR4w5ieo6SHHZzkRiOngULSd8hIAbtYdE1UfD >> 4LX8D86KkOZ7HlIxQOQMphP/Lta7KaJ+90FFRmuvEzj3UfYM0JOpzgND/e9609hs >> 6XhpPzmWlSpxdGrnAqoVpMow6F+X1lwolWaZxFCAevQ8gUFqnBVFxfT+zmkwT5mH >> dqk/jPlaAsTUOf4bz4ly8xrXmD3uAldODzRzVpIMCAtPIvkVGWazyIUltF6w5o1X >> Bz4Z8efsc6mKGrfqcTAar/mpbzAdlbkUVusAhWurXfM+NIneAER7cuR8c1DfldOA >> x1L3owirmTIM9+qf+KV9d+bnsdMfEuGnnNEnx2SYXaCGh4+2sZOG4Zbb4oRO5RlM >> b+7emzY+Y4JVnbFYVQD1D/RSUS5V+jX69ewm7hfksRPUJYLLDR8smJ1vbAR4MMHB >> rdqIajl3tAAxCylTQA2hnVfbhu60Iz/Eky4kWATLY0kO5aR7YsXPQFxIQYnkYVZa >> 0o9TjRVJvhoLwSv10RmD1JxEXCXbpr3qeD+zvDK+TJSowCPqu2xnx+DqGkjpiWk6 >> eSHDyxaSJqfuz02HeDXWivhYmRE/iWKSETox5Na8UR2MjOdLnPw= >> =YwUt >> -----END PGP SIGNATURE----- >> >> --------------------------------------------------------------------- >> 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