Return-Path: X-Original-To: apmail-zookeeper-user-archive@www.apache.org Delivered-To: apmail-zookeeper-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F0F68CCB0 for ; Wed, 3 Jul 2013 06:54:28 +0000 (UTC) Received: (qmail 87753 invoked by uid 500); 3 Jul 2013 06:54:26 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 87682 invoked by uid 500); 3 Jul 2013 06:54:25 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 87647 invoked by uid 99); 3 Jul 2013 06:54:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jul 2013 06:54:23 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_FONT_SIZE_LARGE,HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dwivedishashwat@gmail.com designates 209.85.217.170 as permitted sender) Received: from [209.85.217.170] (HELO mail-lb0-f170.google.com) (209.85.217.170) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jul 2013 06:54:19 +0000 Received: by mail-lb0-f170.google.com with SMTP id t13so4081313lbd.15 for ; Tue, 02 Jul 2013 23:53:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=TNMIjE1c63Iw/8TaxDb0OjYAaJcHhxOdfT0cdmmGYjg=; b=akkjzFiDFzaHSYoyKGmqWXUG9hGjhJQuFANYOeWPTG8fWX5yL2c2d1rkdSHOTHfb8y 8L/A1A+Kgw6VnD9GFOoMTLdAN9Ug/byg61NDhaOjTR0WaGtm7PrNlAX9VtqhSjI+oc6Y bXfvayZ5ayi2nsmQicek6tskT/LZYm4Cge0edE93ezbL0qZQ0+OecMlgVZO6z15SOSY4 3xDMfQyUcIbXLeqvklwhZ86kExRbOQF/cQFH6beZUHQmjIm/RoNMDVv/UAzgJDwqSoWF jRJelBWdV6qhcZ5iu/y5elQkCX+7BjNcpmtYWtB92KPeQeNutNHiAs9YesZoAKHXt8yK mpJw== X-Received: by 10.112.28.7 with SMTP id x7mr467636lbg.7.1372834438438; Tue, 02 Jul 2013 23:53:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.114.19.176 with HTTP; Tue, 2 Jul 2013 23:53:18 -0700 (PDT) In-Reply-To: <1372832234574-7578825.post@n2.nabble.com> References: <1372832234574-7578825.post@n2.nabble.com> From: shashwat shriparv Date: Wed, 3 Jul 2013 12:23:18 +0530 Message-ID: Subject: Re: Zookeeper - Network is unreachable To: user@zookeeper.apache.org Cc: zookeeper-user@hadoop.apache.org, ranjith.v@zohocorp.com Content-Type: multipart/alternative; boundary=001a11334f8a09e5da04e095ed5b X-Virus-Checked: Checked by ClamAV on apache.org --001a11334f8a09e5da04e095ed5b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable check number of open file limit for your client and server machine and try to increase check using ulimint -a, *Thanks & Regards * =E2=88=9E Shashwat Shriparv On Wed, Jul 3, 2013 at 11:47 AM, Ranjith Venkatesan wrote: > Hi, > > I am new to zookeeper. I tried to connect Solr to zookeeper 3.4.5. I setu= p > an zookeeper ensemble in 3 machines. When network in one of the machine i= s > down, I am getting the following issue frequently till network is availab= le > again. > > If i didnt address this issue soon, many sockets are getting open, hence > "Too Many files are open" Exception is thrown in client side. > > /1356971 [main-SendThread(192.168.1.1:2182)] WARN > org.apache.zookeeper.ClientCnxn =E2=80=93 Session 0x13fa3080e490000 for = server > null, unexpected error, closing socket connection and attempting reconnec= t > java.net.SocketException: Network is unreachable > at sun.nio.ch.Net.connect(Native Method) > at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:52= 5) > at > > org.apache.zookeeper.ClientCnxnSocketNIO.registerAndConnect(ClientCnxnSoc= ketNIO.java:266) > at > > org.apache.zookeeper.ClientCnxnSocketNIO.connect(ClientCnxnSocketNIO.java= :276) > at > > org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:9= 58) > at > org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:993)/ > > Thanks in advance > > > RANJITH VENKATESAN > > > > > -- > View this message in context: > http://zookeeper-user.578899.n2.nabble.com/Zookeeper-Network-is-unreachab= le-tp7578825.html > Sent from the zookeeper-user mailing list archive at Nabble.com. > --001a11334f8a09e5da04e095ed5b--