Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9A0A51858E for ; Wed, 2 Mar 2016 15:01:18 +0000 (UTC) Received: (qmail 15348 invoked by uid 500); 2 Mar 2016 15:01:18 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 15300 invoked by uid 500); 2 Mar 2016 15:01:18 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 15265 invoked by uid 99); 2 Mar 2016 15:01:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Mar 2016 15:01:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 2633E2C1F60 for ; Wed, 2 Mar 2016 15:01:18 +0000 (UTC) Date: Wed, 2 Mar 2016 15:01:18 +0000 (UTC) From: "Varun Saxena (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-4754) Too many connection opened to TimelineServer while publishing entities MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/YARN-4754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15175741#comment-15175741 ] Varun Saxena commented on YARN-4754: ------------------------------------ Sorry, getEntity would close the connection if entity type is not Closeable. I had overlooked that part. > Too many connection opened to TimelineServer while publishing entities > ---------------------------------------------------------------------- > > Key: YARN-4754 > URL: https://issues.apache.org/jira/browse/YARN-4754 > Project: Hadoop YARN > Issue Type: Bug > Reporter: Rohith Sharma K S > Assignee: Varun Saxena > Priority: Critical > Attachments: ConnectionLeak.rar > > > It is observed that there are too many connections are kept opened to TimelineServer while publishing entities via SystemMetricsPublisher. This cause sometimes resource shortage for other process or RM itself > {noformat} > tcp 0 0 10.18.99.110:3999 10.18.214.60:59265 ESTABLISHED 115302/java > tcp 0 0 10.18.99.110:25001 :::* LISTEN 115302/java > tcp 0 0 10.18.99.110:25002 :::* LISTEN 115302/java > tcp 0 0 10.18.99.110:25003 :::* LISTEN 115302/java > tcp 0 0 10.18.99.110:25004 :::* LISTEN 115302/java > tcp 0 0 10.18.99.110:25005 :::* LISTEN 115302/java > tcp 1 0 10.18.99.110:48866 10.18.99.110:8188 CLOSE_WAIT 115302/java > tcp 1 0 10.18.99.110:48137 10.18.99.110:8188 CLOSE_WAIT 115302/java > tcp 1 0 10.18.99.110:47553 10.18.99.110:8188 CLOSE_WAIT 115302/java > tcp 1 0 10.18.99.110:48424 10.18.99.110:8188 CLOSE_WAIT 115302/java > tcp 1 0 10.18.99.110:48139 10.18.99.110:8188 CLOSE_WAIT 115302/java > tcp 1 0 10.18.99.110:48096 10.18.99.110:8188 CLOSE_WAIT 115302/java > tcp 1 0 10.18.99.110:47558 10.18.99.110:8188 CLOSE_WAIT 115302/java > tcp 1 0 10.18.99.110:49270 10.18.99.110:8188 CLOSE_WAIT 115302/java > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)