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 1343F7E10 for ; Wed, 14 Sep 2011 22:14:04 +0000 (UTC) Received: (qmail 22524 invoked by uid 500); 14 Sep 2011 22:13:40 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 22484 invoked by uid 500); 14 Sep 2011 22:13:40 -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 22443 invoked by uid 99); 14 Sep 2011 22:13:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2011 22:13:40 +0000 X-ASF-Spam-Status: No, hits=3.2 required=5.0 tests=DEAR_SOMETHING,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of g.kishore@gmail.com designates 74.125.82.170 as permitted sender) Received: from [74.125.82.170] (HELO mail-wy0-f170.google.com) (74.125.82.170) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2011 22:13:32 +0000 Received: by wyg8 with SMTP id 8so2194441wyg.15 for ; Wed, 14 Sep 2011 15:13:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=vUGCOHRBP+Yg2HwzxHCwKH/PTFc3q/mXHGZNozEoTSc=; b=Z7eL/kwbESwvgQiTka8jyl14Om9dGZg44MJwPDtfZ1EauWEsppG+sWrcqDks45OgIG XLmNA7NAA/xCUMwPKwAzQFtOXVQj/rq2o9g4Q9TCxyNGsNddpIOUb1JQzlObyTl6XJfx Ee3gaggvCsKygQIL1QH4e6pb+5dCnHnpONRBc= MIME-Version: 1.0 Received: by 10.216.4.19 with SMTP id 19mr375028wei.66.1316038392075; Wed, 14 Sep 2011 15:13:12 -0700 (PDT) Received: by 10.216.155.6 with HTTP; Wed, 14 Sep 2011 15:13:12 -0700 (PDT) In-Reply-To: References: Date: Wed, 14 Sep 2011 15:13:12 -0700 Message-ID: Subject: Re: Zookeeper Memory Leak? From: kishore g To: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary=0016364c76fdded45204acee107e X-Virus-Checked: Checked by ClamAV on apache.org --0016364c76fdded45204acee107e Content-Type: text/plain; charset=ISO-8859-1 *I constructed under the "zookeeper" node* Do you mean you created under /zookeeper. On Wed, Sep 14, 2011 at 8:06 AM, Xuehan Xu wrote: > I constructed under the "zookeeper" node an EPHEMERAL node representing my > PC, and store the usage information of cpu, memory and hard disk in the > form > of a POJO as the data of the node which is refreshed every two seconds > > On 14 September 2011 20:25, Ted Dunning wrote: > > > What kind of data are you storing on the Zookeeper servers? > > > > On Wed, Sep 14, 2011 at 6:34 AM, Xuehan Xu > wrote: > > > > > Dear Sirs: > > > I'm learning how to use zookeeper. I've downloaded both the 3.2.0 > > and > > > 3.3.3 versions. There are three zookeeper servers running on my PC with > > the > > > following configuration for each them, among which the dataDir and > > > clientPort are configured differently: > > > > > > tickTime=2000 > > > initLimit=10 > > > syncLimit=5 > > > dataDir=/export/mahadev/zookeeper/server1/data > > > clientPort=2181 > > > server.1=10.65.134.219:2888:3888 > > > server.2=10.65.134.219:2889:3889 > > > server.3=10.65.134.219:2890:3890 > > > > > > I also wrote a client to report the PC performance information like > > memory > > > usage, network performance and idle cpu time to the zookeeper servers. > > The > > > report cycle is 2 seconds. > > > > > > But both versions of zookeeper throws the OutOfMemoryError exception > when > > > kept running for about 50 minutes. Is this due to a memory leak error > > > inside > > > the zookeeper itself or some miss configuration of myself? > > > > > > Thanks for your help:-) > > > > > > --0016364c76fdded45204acee107e--