|
|
-
Re: Zookeeper Memory Leak?kishore g 2011-09-14, 22:13
*I constructed under the "zookeeper" node*
Do you mean you created under /zookeeper. On Wed, Sep 14, 2011 at 8:06 AM, Xuehan Xu <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> wrote: > > > What kind of data are you storing on the Zookeeper servers? > > > > On Wed, Sep 14, 2011 at 6:34 AM, Xuehan Xu <[EMAIL PROTECTED]> > 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:-) > > > > > > |