zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: Zookeeper Disconnects repeatedly and often is unable to reconnect which expires session
Date Wed, 25 May 2011 17:17:35 GMT
That is a fairly short timeout.

Generally, the first thing to check is garbage collection.  Try turning on
GC logging.  You
may want to adjust your GC settings to reduce the number and frequency of
stop the world

Secondly, check into the Zookeeper server to see if that machine is
over-subscribed.  This
can especially happen in virtualized environments like EC2 where a VM can go
missing for
several seconds at a time.

Beyond that, you will need to describe your application and environment a
bit more so that
people can comment more intelligently.

On Wed, May 25, 2011 at 9:54 AM, hiteshghia <hitesh.ghia@bunchball.com>wrote:

> 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.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message