Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0FE416040 for ; Wed, 15 Jun 2011 00:05:11 +0000 (UTC) Received: (qmail 94497 invoked by uid 500); 15 Jun 2011 00:05:10 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 94428 invoked by uid 500); 15 Jun 2011 00:05:10 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 94420 invoked by uid 99); 15 Jun 2011 00:05:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2011 00:05:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2011 00:05:08 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7A6A3416DA4 for ; Wed, 15 Jun 2011 00:04:47 +0000 (UTC) Date: Wed, 15 Jun 2011 00:04:47 +0000 (UTC) From: "Matt Foley (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: <355602047.5144.1308096287498.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <854446540.57142.1302766865770.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (HDFS-1836) Thousand of CLOSE_WAIT socket MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HDFS-1836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matt Foley resolved HDFS-1836. ------------------------------ Resolution: Fixed Fix Version/s: (was: 0.20.205.0) Committed to 0.20-security for .206 release. Will correct the "Fix Versions" field when .206 is added. > Thousand of CLOSE_WAIT socket > ------------------------------ > > Key: HDFS-1836 > URL: https://issues.apache.org/jira/browse/HDFS-1836 > Project: Hadoop HDFS > Issue Type: Bug > Components: hdfs client > Affects Versions: 0.20.2 > Environment: Linux 2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:52:25 EST 2011 x86_64 x86_64 x86_64 GNU/Linux > java version "1.6.0_23" > Java(TM) SE Runtime Environment (build 1.6.0_23-b05) > Java HotSpot(TM) 64-Bit Server VM (build 19.0-b09, mixed mode) > Reporter: Dennis Cheung > Assignee: Bharath Mundlapudi > Fix For: 0.20.3 > > Attachments: hdfs-1836-0.20.205.txt, hdfs-1836-0.20.txt, hdfs-1836-0.20.txt, patch-draft-1836.patch > > > $ /usr/sbin/lsof -i TCP:50010 | grep -c CLOSE_WAIT > 4471 > It is better if everything runs normal. > However, from time to time there are some "DataStreamer Exception: java.net.SocketTimeoutException" and "DFSClient.processDatanodeError(2507) | Error Recovery for" can be found from log file and the number of CLOSE_WAIT socket just keep increasing > The CLOSE_WAIT handles may remain for hours and days; then "Too many open file" some day. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira