zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Donna Li" <donna...@utstar.com>
Subject ntp adjust to zookeeper
Date Thu, 23 Jun 2011 02:48:01 GMT

my server configuration is as following:
tickTime=1000
initLimit=5
syncLimit=2

client api:
zookeeper_init(,,recv_timeout=2000,)

So client will session expire by 2s if server can not receive the heartbeat. Does the ntp
max jump time = 2s?


-----邮件原件-----
发件人: Ted Dunning [mailto:ted.dunning@gmail.com] 
发送时间: 2011年6月23日 10:12
收件人: user@zookeeper.apache.org
主题: Re: ntp adjust to zookeeper

Large time jumps can cause problems because your sessions may expire
surprisingly.

It is best to keep your servers within a tight tolerance.  Time jumps may
occur more seriously if you are using an over-subscribed VM (think small EC2
instances).  That can seriously confuse NTP and cause real problems.

On Wed, Jun 22, 2011 at 6:34 PM, Donna Li <donna.li@utstar.com> wrote:

> All:
>
>        Could zookeeper cluster servers work normal after ntp adjust?
>
>
>
>
>
> Best Regards
>
> Donna li
>
>

Mime
View raw message