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 2E8AC4B88 for ; Wed, 25 May 2011 16:55:35 +0000 (UTC) Received: (qmail 54921 invoked by uid 500); 25 May 2011 16:55:34 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 54890 invoked by uid 500); 25 May 2011 16:55:34 -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 Delivered-To: moderator for user@zookeeper.apache.org Received: (qmail 52891 invoked by uid 500); 25 May 2011 16:54:56 -0000 Delivered-To: apmail-hadoop-zookeeper-user@hadoop.apache.org X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Date: Wed, 25 May 2011 09:54:30 -0700 (PDT) From: hiteshghia To: zookeeper-user@hadoop.apache.org Message-ID: <1306342470192-6403581.post@n2.nabble.com> Subject: Zookeeper Disconnects repeatedly and often is unable to reconnect which expires session MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, Our Application does not use zookeeper heavily, but still I get a zookeeper Disconnect event around 70 - 80 times a day and half the times its unable to reconnect which results in an expired session in which case I close the zookeeper object and reconnect manually in the application code. tickTime = 2000 and I use a timeout of 8000ms. What can be the reason of such frequent disconnection event and how can I narrow down the reason and be sure that the application code is not the culprit. Your answers will be greatly appreciated. Thanks -- View this message in context: http://zookeeper-user.578899.n2.nabble.com/Zookeeper-Disconnects-repeatedly-and-often-is-unable-to-reconnect-which-expires-session-tp6403581p6403581.html Sent from the zookeeper-user mailing list archive at Nabble.com.