Return-Path: X-Original-To: apmail-hadoop-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 21781111BE for ; Thu, 24 Jul 2014 20:50:38 +0000 (UTC) Received: (qmail 79441 invoked by uid 500); 24 Jul 2014 20:50:27 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 79332 invoked by uid 500); 24 Jul 2014 20:50:27 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 79307 invoked by uid 99); 24 Jul 2014 20:50:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jul 2014 20:50:26 +0000 X-ASF-Spam-Status: No, hits=1.8 required=5.0 tests=HTML_FONT_FACE_BAD,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aagarwal@hortonworks.com designates 209.85.213.49 as permitted sender) Received: from [209.85.213.49] (HELO mail-yh0-f49.google.com) (209.85.213.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jul 2014 20:50:24 +0000 Received: by mail-yh0-f49.google.com with SMTP id b6so2276117yha.22 for ; Thu, 24 Jul 2014 13:49:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=/wlUPPeAZbNFqUx9VqyESgCcr3Vduw1qCbd2XrHta7I=; b=kAx7w+wtN73ZxR9hopp2yb7AVP7Y+Izd7hza5ng/qxXAgERdoON8BapSWzpbls3bBp XxT1TWKaoiO01hs4dBYvsHTleSCcf+3WI9ob7XnZdHMwVw++POXImarAPmVZmzmtpdbd JXQ0pzrfgWWOaH8fi9pLSyUrFJ3WcawZRFSohziAJS1fz9we5Zn6EKfJAcQrVWgCRE35 rfC9bJSzPs9lEvlZGCswDtxoouvtrbUXVv6VoVq+2Cgh3WhV4LHP3lzQtf4rMiEk1KBy B/7sJ4xkHRetnpqh2JQ2kcfKq/lDrc7TXW2ed6ebkvKdsNtZkuA8mHelvy+rr6l8D7+L tqkA== X-Gm-Message-State: ALoCoQkj7UoLpPcAGOiEoN32QpRRrT4ldTlzWexNc2zGqBgh+bxFLjcCWwADvDmBayshcvjN+LmhqygDzDOsnqRJIAsMlvXx3LPqpBJEU398w9bxWPZeclg= MIME-Version: 1.0 X-Received: by 10.236.87.52 with SMTP id x40mr5113373yhe.121.1406234999279; Thu, 24 Jul 2014 13:49:59 -0700 (PDT) Received: by 10.170.67.195 with HTTP; Thu, 24 Jul 2014 13:49:59 -0700 (PDT) In-Reply-To: References: Date: Thu, 24 Jul 2014 13:49:59 -0700 Message-ID: Subject: Re: RegionServer many socket fds are in CLOSE_WAIT and not getting cleared From: Arpit Agarwal To: user@hadoop.apache.org, user@hbase.apache.org Content-Type: multipart/alternative; boundary=20cf300e54999a6bb404fef6991e X-Virus-Checked: Checked by ClamAV on apache.org --20cf300e54999a6bb404fef6991e Content-Type: text/plain; charset=UTF-8 +Hbase User On Wed, Jul 23, 2014 at 11:04 PM, Shankar hiremath < shankar.hiremath@huawei.com> wrote: > Dear All, > > Observation: > I have HBase cluster with Kerberos enabled, when the Region Server > startups then we observed some 20-30 socket fds are in CLOSE_WAIT state, > After that when the Region Server starts opening then the socket fds in > CLOSE_WAIT starts increasing gradually (almost same as number of regions > opened by the region server) > And all these CLOSE_WAIT states are not getting cleared up, > > /hbase> lsof -i | grep `jps | grep RegionServer | cut -d " " -f1` > java 18028 shankar1 118u IPv6 18552894 0t0 TCP > XX-XX-XX-XX:60020 (LISTEN) > java 18028 shankar1 160u IPv6 18548520 0t0 TCP *:60030 (LISTEN) > java 18028 shankar1 167u IPv6 18548522 0t0 TCP > XX-XX-XX-XX:42534->host-10-18-40-52:eforward (ESTABLISHED) > java 18028 shankar1 172u IPv6 18552916 0t0 TCP > XX-XX-XX-XX:42535->host-10-18-40-52:eforward (ESTABLISHED) > java 18028 shankar1 173u IPv6 18551227 0t0 TCP > XX-XX-XX-XX:49646->XX-XX-XX-XX:60000 (ESTABLISHED) > java 18028 shankar1 178u IPv6 18551237 0t0 TCP > XX-XX-XX-XX:62668->XX-XX-XX-XX:busboy (ESTABLISHED) > java 18028 shankar1 185u IPv6 18548549 0t0 TCP > XX-XX-XX-XX:21856->host-10-18-40-134:eforward (ESTABLISHED) > java 18028 shankar1 187u IPv6 18548558 0t0 TCP > XX-XX-XX-XX:62673->XX-XX-XX-XX:busboy (ESTABLISHED) > java 18028 shankar1 188u IPv6 18601323 0t0 TCP > XX-XX-XX-XX:63168->XX-XX-XX-XX:busboy (CLOSE_WAIT) > java 18028 shankar1 189u IPv6 18601322 0t0 TCP > XX-XX-XX-XX:63167->XX-XX-XX-XX:busboy (CLOSE_WAIT) > java 18028 shankar1 190u IPv6 18601324 0t0 TCP > XX-XX-XX-XX:63169->XX-XX-XX-XX:busboy (CLOSE_WAIT) > java 18028 shankar1 191r IPv6 18592423 0t0 TCP > XX-XX-XX-XX:63087->XX-XX-XX-XX:busboy (CLOSE_WAIT) > java 18028 shankar1 193u IPv6 18593210 0t0 TCP > XX-XX-XX-XX:63090->XX-XX-XX-XX:busboy (CLOSE_WAIT) > java 18028 shankar1 194u IPv6 18548560 0t0 TCP > XX-XX-XX-XX:62675->XX-XX-XX-XX:busboy (CLOSE_WAIT) > java 18028 shankar1 195u IPv6 18592428 0t0 TCP > XX-XX-XX-XX:63093->XX-XX-XX-XX:busboy (CLOSE_WAIT) > java 18028 shankar1 196u IPv6 18593218 0t0 TCP > XX-XX-XX-XX:63096->XX-XX-XX-XX:busboy (CLOSE_WAIT) > java 18028 shankar1 197u IPv6 18591423 0t0 TCP > XX-XX-XX-XX:63105->XX-XX-XX-XX:busboy (CLOSE_WAIT) > java 18028 shankar1 201u IPv6 18592431 0t0 TCP > XX-XX-XX-XX:63099->XX-XX-XX-XX:busboy (CLOSE_WAIT) > java 18028 shankar1 202u IPv6 18592433 0t0 TCP > XX-XX-XX-XX:63102->XX-XX-XX-XX:busboy (CLOSE_WAIT) > java 18028 shankar1 203u IPv6 18552317 0t0 TCP > XX-XX-XX-XX:62681->XX-XX-XX-XX:busboy (CLOSE_WAIT) > > ............................................................................................................ > > ............................................................................................................ > > ............................................................................................................ > > ............................................................................................................ > > ............................................................................................................ > > any input or suggestion will be helpful, or is it a bug. > > Regards > -Shankar > > This e-mail and its attachments contain confidential information from > HUAWEI, which is intended only for the person or entity whose address is > listed above. Any use of the information contained herein in any way > (including, but not limited to, total or partial disclosure, reproduction, > or dissemination) by persons other than the intended recipient(s) is > prohibited. If you receive this e-mail in error, please notify the sender > by phone or email immediately and delete it! > > > > > > -- CONFIDENTIALITY NOTICE NOTICE: This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential, privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any printing, copying, dissemination, distribution, disclosure or forwarding of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank You. --20cf300e54999a6bb404fef6991e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
+Hbase User


On Wed, Jul 23, 2014 at 11:04 PM, Shankar hiremath= <shankar.hiremath@huawei.com> wrote:
Dear All,
=C2=A0
Observation:
I have HBase cluster with Kerberos enabled, when the Region Server sta= rtups then we observed some 20-30 socket fds are in CLOSE_WAIT state,
After that when the Region Server starts opening then the socket fds i= n CLOSE_WAIT starts increasing gradually (almost same as number of regions = opened by the region server)
And all these CLOSE_WAIT states are not getting cleared up,
=C2=A0
/hbase> lsof -i | grep `jps | grep RegionServer | cut -d " &qu= ot; -f1`=C2=A0
java=C2=A0=C2=A0=C2=A0 18028 shankar1=C2=A0 118u=C2=A0 IPv6 18552894= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0t0=C2=A0 TCP XX-XX-XX-XX:60020 (LISTEN)
java=C2=A0=C2=A0=C2=A0 18028 shankar1=C2=A0 160u=C2=A0 IPv6 18548520= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0t0=C2=A0 TCP *:60030 (LISTEN)
java=C2=A0=C2=A0=C2=A0 18028 shankar1=C2=A0 167u=C2=A0 IPv6 18548522= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0t0=C2=A0 TCP XX-XX-XX-XX:42534->host-10-= 18-40-52:eforward (ESTABLISHED)
java=C2=A0=C2=A0=C2=A0 18028 shankar1=C2=A0 172u=C2=A0 IPv6 18552916= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0t0=C2=A0 TCP XX-XX-XX-XX:42535->host-10-= 18-40-52:eforward (ESTABLISHED)
java=C2=A0=C2=A0=C2=A0 18028 shankar1=C2=A0 173u=C2=A0 IPv6 18551227= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0t0=C2=A0 TCP XX-XX-XX-XX:49646->XX-XX-XX= -XX:60000 (ESTABLISHED)
java=C2=A0=C2=A0=C2=A0 18028 shankar1=C2=A0 178u=C2=A0 IPv6 18551237= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0t0=C2=A0 TCP XX-XX-XX-XX:62668->XX-XX-XX= -XX:busboy (ESTABLISHED)
java=C2=A0=C2=A0=C2=A0 18028 shankar1=C2=A0 185u=C2=A0 IPv6 18548549= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0t0=C2=A0 TCP XX-XX-XX-XX:21856->host-10-= 18-40-134:eforward (ESTABLISHED)
java=C2=A0=C2=A0=C2=A0 18028 shankar1=C2=A0 187u=C2=A0 IPv6 18548558= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0t0=C2=A0 TCP XX-XX-XX-XX:62673->XX-XX-XX= -XX:busboy (ESTABLISHED)
java=C2=A0=C2=A0=C2=A0 18028 shankar1=C2=A0 188u=C2=A0 IPv6 18601323= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0t0=C2=A0 TCP XX-XX-XX-XX:63168->XX-XX-XX= -XX:busboy (CLOSE_WAIT)
java=C2=A0=C2=A0=C2=A0 18028 shankar1=C2=A0 189u=C2=A0 IPv6 18601322= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0t0=C2=A0 TCP XX-XX-XX-XX:63167->XX-XX-XX= -XX:busboy (CLOSE_WAIT)
java=C2=A0=C2=A0=C2=A0 18028 shankar1=C2=A0 190u=C2=A0 IPv6 18601324= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0t0=C2=A0 TCP XX-XX-XX-XX:63169->XX-XX-XX= -XX:busboy (CLOSE_WAIT)
java=C2=A0=C2=A0=C2=A0 18028 shankar1=C2=A0 191r=C2=A0 IPv6 18592423= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0t0=C2=A0 TCP XX-XX-XX-XX:63087->XX-XX-XX= -XX:busboy (CLOSE_WAIT)
java=C2=A0=C2=A0=C2=A0 18028 shankar1=C2=A0 193u=C2=A0 IPv6 18593210= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0t0=C2=A0 TCP XX-XX-XX-XX:63090->XX-XX-XX= -XX:busboy (CLOSE_WAIT)
java=C2=A0=C2=A0=C2=A0 18028 shankar1=C2=A0 194u=C2=A0 IPv6 18548560= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0t0=C2=A0 TCP XX-XX-XX-XX:62675->XX-XX-XX= -XX:busboy (CLOSE_WAIT)
java=C2=A0=C2=A0=C2=A0 18028 shankar1=C2=A0 195u=C2=A0 IPv6 18592428= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0t0=C2=A0 TCP XX-XX-XX-XX:63093->XX-XX-XX= -XX:busboy (CLOSE_WAIT)
java=C2=A0=C2=A0=C2=A0 18028 shankar1=C2=A0 196u=C2=A0 IPv6 18593218= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0t0=C2=A0 TCP XX-XX-XX-XX:63096->XX-XX-XX= -XX:busboy (CLOSE_WAIT)
java=C2=A0=C2=A0=C2=A0 18028 shankar1=C2=A0 197u=C2=A0 IPv6 18591423= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0t0=C2=A0 TCP XX-XX-XX-XX:63105->XX-XX-XX= -XX:busboy (CLOSE_WAIT)
java=C2=A0=C2=A0=C2=A0 18028 shankar1=C2=A0 201u=C2=A0 IPv6 18592431= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0t0=C2=A0 TCP XX-XX-XX-XX:63099->XX-XX-XX= -XX:busboy (CLOSE_WAIT)
java=C2=A0=C2=A0=C2=A0 18028 shankar1=C2=A0 202u=C2=A0 IPv6 18592433= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0t0=C2=A0 TCP XX-XX-XX-XX:63102->XX-XX-XX= -XX:busboy (CLOSE_WAIT)
java=C2=A0=C2=A0=C2=A0 18028 shankar1=C2=A0 203u=C2=A0 IPv6 18552317= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0t0=C2=A0 TCP XX-XX-XX-XX:62681->XX-XX-XX= -XX:busboy (CLOSE_WAIT)
......................................................................= ......................................
......................................................................= ......................................
......................................................................= ......................................
......................................................................= ......................................
......................................................................= ......................................
=C2=A0
any input or suggestion will be helpful, or is it a bug.
=C2=A0
Regards
-Shankar
=C2=A0
This e-mail and its attachments contain confidential information f= rom HUAWEI, which is intended only for the person or entity whose address i= s listed above. Any use of the information contained herein in any way (including, but not limited to, total or partia= l disclosure, reproduction, or dissemination) by persons other than the int= ended recipient(s) is prohibited. If you receive this e-mail in error, plea= se notify the sender by phone or email immediately and delete it!
=C2=A0
=C2=A0
=C2=A0
=C2=A0
=C2=A0


CONFIDENTIALITY NOTICE
NOTICE: This message is = intended for the use of the individual or entity to which it is addressed a= nd may contain information that is confidential, privileged and exempt from= disclosure under applicable law. If the reader of this message is not the = intended recipient, you are hereby notified that any printing, copying, dis= semination, distribution, disclosure or forwarding of this communication is= strictly prohibited. If you have received this communication in error, ple= ase contact the sender immediately and delete it from your system. Thank Yo= u. --20cf300e54999a6bb404fef6991e--