[ https://issues.apache.org/jira/browse/YARN-1703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13950552#comment-13950552 ]
Rohith commented on YARN-1703: ------------------------------ I am attaching connection established for accesing 1 application master ui. On every manuall refresh , it is incrementing more than 30 connections. {noformat} host-10-18-40-71:/home/OpenSource/hadoop-3.0.0-SNAPSHOT/sbin # netstat -tnpla | grep <ProxyServer_PID> tcp 0 0 0.0.0.0:4996 0.0.0.0:* LISTEN 27664/java tcp 0 0 10.18.40.71:45029 :::* LISTEN 27664/java tcp 1 0 10.18.40.71:58696 10.18.40.71:56297 CLOSE_WAIT 27664/java tcp 1 0 10.18.40.71:10375 10.18.40.71:56297 CLOSE_WAIT 27664/java tcp 1 0 10.18.40.71:27934 10.18.40.71:56297 CLOSE_WAIT 27664/java tcp 0 0 10.18.40.71:29802 10.18.40.77:45022 ESTABLISHED 27664/java tcp 0 0 10.18.40.71:43589 10.18.40.71:56297 ESTABLISHED 27664/java tcp 0 0 10.18.40.71:45347 10.18.40.71:56297 ESTABLISHED 27664/java tcp 0 0 10.18.40.71:45029 10.18.40.77:10980 ESTABLISHED 27664/java tcp 0 0 10.18.40.71:37156 10.18.40.71:56297 ESTABLISHED 27664/java tcp 0 0 10.18.40.71:45029 10.18.40.77:37989 ESTABLISHED 27664/java tcp 0 0 10.18.40.71:45029 10.18.40.77:18116 ESTABLISHED 27664/java tcp 0 0 10.18.40.71:50766 10.18.40.71:56297 ESTABLISHED 27664/java tcp 1 0 10.18.40.71:18836 10.18.40.71:56297 CLOSE_WAIT 27664/java tcp 1 0 10.18.40.71:19376 10.18.40.71:56297 CLOSE_WAIT 27664/java tcp 1 0 10.18.40.71:25214 10.18.40.71:56297 CLOSE_WAIT 27664/java tcp 0 0 10.18.40.71:45029 10.18.40.77:54847 ESTABLISHED 27664/java tcp 0 0 10.18.40.71:45029 10.18.40.77:12605 ESTABLISHED 27664/java tcp 1 0 10.18.40.71:50339 10.18.40.71:56297 CLOSE_WAIT 27664/java tcp 0 0 10.18.40.71:49870 10.18.40.71:56297 ESTABLISHED 27664/java tcp 0 0 10.18.40.71:50956 10.18.40.71:56297 ESTABLISHED 27664/java tcp 1 0 10.18.40.71:16896 10.18.40.71:56297 CLOSE_WAIT 27664/java tcp 0 0 10.18.40.71:43026 10.18.40.71:56297 ESTABLISHED 27664/java tcp 0 0 10.18.40.71:45029 10.18.40.77:12091 ESTABLISHED 27664/java tcp 0 0 10.18.40.71:49205 10.18.40.71:56297 ESTABLISHED 27664/java tcp 0 0 10.18.40.71:29968 10.18.40.71:56297 ESTABLISHED 27664/java tcp 1 0 10.18.40.71:34355 10.18.40.71:56297 CLOSE_WAIT 27664/java tcp 0 0 10.18.40.71:54701 10.18.40.71:56297 ESTABLISHED 27664/java tcp 0 0 10.18.40.71:47084 10.18.40.71:56297 ESTABLISHED 27664/java tcp 0 0 10.18.40.71:45029 10.18.40.77:32938 ESTABLISHED 27664/java tcp 1 0 10.18.40.71:28034 10.18.40.71:56297 CLOSE_WAIT 27664/java tcp 1 0 10.18.40.71:40430 10.18.40.71:56297 CLOSE_WAIT 27664/java tcp 0 0 10.18.40.71:45029 10.18.40.77:56572 ESTABLISHED 27664/java tcp 0 0 10.18.40.71:45029 10.18.40.77:60771 ESTABLISHED 27664/java tcp 0 0 10.18.40.71:45029 10.18.40.77:39165 ESTABLISHED 27664/java tcp 0 0 10.18.40.71:20341 10.18.40.71:56297 ESTABLISHED 27664/java tcp 1 0 10.18.40.71:22649 10.18.40.71:56297 CLOSE_WAIT 27664/java tcp 1 0 10.18.40.71:23049 10.18.40.71:56297 CLOSE_WAIT 27664/java tcp 0 0 10.18.40.71:52172 10.18.40.71:56297 ESTABLISHED 27664/java tcp 0 0 10.18.40.71:45029 10.18.40.77:57790 ESTABLISHED 27664/java tcp 0 0 10.18.40.71:17880 10.18.40.71:56297 ESTABLISHED 27664/java tcp 0 0 10.18.40.71:45029 10.18.40.77:22911 ESTABLISHED 27664/java tcp 0 0 10.18.40.71:52107 10.18.40.71:56297 ESTABLISHED 27664/java tcp 0 0 10.18.40.71:45029 10.18.40.77:38345 ESTABLISHED 27664/java tcp 0 0 10.18.40.71:45029 10.18.40.77:40127 ESTABLISHED 27664/java tcp 1 0 10.18.40.71:18287 10.18.40.71:56297 CLOSE_WAIT 27664/java tcp 0 0 10.18.40.71:45029 10.18.40.77:30754 ESTABLISHED 27664/java {noformat} > Too many connections are opened for proxy server when applicationMaster UI is > accessed. > --------------------------------------------------------------------------------------- > > Key: YARN-1703 > URL: https://issues.apache.org/jira/browse/YARN-1703 > Project: Hadoop YARN > Issue Type: Bug > Affects Versions: 2.3.0 > Reporter: Rohith > Assignee: Rohith > Priority: Critical > Attachments: YARN-1703.1.patch > > > If running job is accessed for progress. there many CLOSE_WAIT connections > for proxyserver. Eventhough connection is released, it makes available > again to the HttpClient instance, but does not close it. -- This message was sent by Atlassian JIRA (v6.2#6252)